diff --git a/services/requester/cadence/run.cdc b/services/requester/cadence/run.cdc index 2b774367..a2703484 100644 --- a/services/requester/cadence/run.cdc +++ b/services/requester/cadence/run.cdc @@ -1,6 +1,8 @@ import EVM transaction(hexEncodedTx: String, coinbase: String) { + prepare(signer: &Account) {} + execute { let txResult = EVM.run( tx: hexEncodedTx.decodeHex(), diff --git a/services/requester/requester.go b/services/requester/requester.go index 413daf27..a89e72a6 100644 --- a/services/requester/requester.go +++ b/services/requester/requester.go @@ -291,7 +291,8 @@ func (e *EVM) buildTransaction(ctx context.Context, script []byte, args ...caden SetScript(script). SetProposalKey(address, index, seqNum). SetReferenceBlockID(latestBlock.ID). - SetPayer(address) + SetPayer(address). + AddAuthorizer(address) for _, arg := range args { if err := flowTx.AddArgument(arg); err != nil {