Skip to content

Commit

Permalink
Add groth16 and poseidon to whitelist.
Browse files Browse the repository at this point in the history
  • Loading branch information
chopin-fan committed Jul 17, 2024
1 parent 188a79c commit a130056
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/AElf.CSharp.CodeOps/AElf.CSharp.CodeOps.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@

<ItemGroup>
<PackageReference Include="Basic.Reference.Assemblies.Net60" Version="1.4.1" />
<PackageReference Include="Groth16.Net" Version="1.0.3" />
<PackageReference Include="Mono.Cecil" Version="0.11.4" />
<PackageReference Include="Poseidon.Net" Version="0.1.0" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ private void WhitelistAssemblies(Whitelist whitelist)
.Assembly(typeof(IMethod).Assembly, Trust.Full) // AElf.CSharp.Core
.Assembly(typeof(SecretSharingHelper).Assembly, Trust.Partial) // AElf.Cryptography
.Assembly(typeof(ISmartContractBridgeContext).Assembly, Trust.Full) // AElf.Kernel.SmartContract.Shared
.Assembly(typeof(Groth16.Net.Verifier).Assembly, Trust.Full) // AElf.Cryptography.ECDSA
.Assembly(typeof(Poseidon.Net.Poseidon).Assembly, Trust.Full)
;
}

Expand Down

0 comments on commit a130056

Please sign in to comment.