Skip to content

Commit d542813

Browse files
update ERC4626SinkConnectors EVM gas limits
1 parent 95005ee commit d542813

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cadence/contracts/connectors/evm/ERC4626SinkConnectors.cdc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ access(all) contract ERC4626SinkConnectors {
112112
to: self.assetEVMAddress,
113113
signature: "approve(address,uint256)",
114114
args: [self.vault, uintAmount],
115-
gasLimit: 100_000
115+
gasLimit: 500_000
116116
)
117117
if approveRes?.status != EVM.Status.successful {
118118
// TODO: consider more graceful handling of this error
@@ -125,7 +125,7 @@ access(all) contract ERC4626SinkConnectors {
125125
to: self.vault,
126126
signature: "deposit(uint256,address)",
127127
args: [uintAmount, self.coa.borrow()!.address()],
128-
gasLimit: 250_000
128+
gasLimit: 1_000_000
129129
)
130130
if depositRes?.status != EVM.Status.successful {
131131
// TODO: Consider unwinding the deposit & returning to the from vault

0 commit comments

Comments
 (0)