Skip to content

Commit

Permalink
whitelist the gastokencontract.pay_fee for setup
Browse files Browse the repository at this point in the history
  • Loading branch information
just-mitch committed May 9, 2024
1 parent 58b604b commit 19aea2e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions yarn-project/sequencer-client/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,12 @@ function getDefaultAllowedSetupFunctions(): AllowedFunction[] {
selector: FunctionSelector.fromSignature('approve_public_authwit(Field)'),
},

// needed for native payments while they are not yet enshrined
{
classId: getContractClassFromArtifact(GasTokenContract.artifact).id,
selector: FunctionSelector.fromSignature('pay_fee(Field)'),
},

// needed for private transfers via FPC
{
classId: getContractClassFromArtifact(TokenContractArtifact).id,
Expand Down

0 comments on commit 19aea2e

Please sign in to comment.