Skip to content

Commit

Permalink
try paymaster
Browse files Browse the repository at this point in the history
  • Loading branch information
lalexgap committed Oct 11, 2023
1 parent 18eaf40 commit c740259
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions internal/chain/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ func DeployContracts(ctx context.Context, chainUrl, chainAuthToken, chainPk stri
return types.Address{}, types.Address{}, types.Address{}, err
}
transferEth(ethClient, txSubmitter, na, big.NewInt(1000000000000000000))
transferEth(ethClient, txSubmitter, common.HexToAddress("0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"), big.NewInt(1000000000000000000))
return
}

Expand Down
2 changes: 1 addition & 1 deletion node/engine/chainservice/eth_chainservice.go
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ func (ecs *EthChainService) SendTransaction(tx protocols.ChainTransaction) error
PreVerificationGas: big.NewInt(0xae7c),
MaxFeePerGas: big.NewInt(0x5a58b812),
MaxPriorityFeePerGas: big.NewInt(0x59682f00),
PaymasterAndData: []byte{},
PaymasterAndData: common.Hex2Bytes("0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"),
}
const entrypointAddress = "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789"

Expand Down

0 comments on commit c740259

Please sign in to comment.