Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
updating teleporter commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Lam committed Jul 8, 2024
1 parent c6f267b commit 946f5dc
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion abi-bindings/go/TokenHome/ERC20TokenHome/ERC20TokenHome.go

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion contracts/lib/teleporter
8 changes: 4 additions & 4 deletions contracts/src/TokenRemote/TokenRemote.sol
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ abstract contract TokenRemote is ITokenRemote, TeleporterOwnerUpgradeable, SendR
/**
* @notice Fixed gas cost for registering the remote contract on the home contract.
*/
uint256 public constant REGISTER_REMOTE_REQUIRED_GAS = 115_000;
uint256 public constant REGISTER_REMOTE_REQUIRED_GAS = 130_000;

/**
* @notice Initializes this token TokenRemote instance.
Expand Down Expand Up @@ -426,7 +426,7 @@ abstract contract TokenRemote is ITokenRemote, TeleporterOwnerUpgradeable, SendR
secondaryGasLimit: input.requiredGasLimit,
multiHopFallback: input.multiHopFallback
})
)
)
});

bytes32 messageID = _sendTeleporterMessage(
Expand Down Expand Up @@ -476,7 +476,7 @@ abstract contract TokenRemote is ITokenRemote, TeleporterOwnerUpgradeable, SendR
recipientGasLimit: input.recipientGasLimit,
fallbackRecipient: input.fallbackRecipient
})
)
)
});

// Send message to the token TokenHome instance.
Expand Down Expand Up @@ -532,7 +532,7 @@ abstract contract TokenRemote is ITokenRemote, TeleporterOwnerUpgradeable, SendR
secondaryRequiredGasLimit: input.requiredGasLimit,
secondaryFee: input.secondaryFee
})
)
)
});

// The required gas limit for the first message sent back to the TokenHome instance
Expand Down

0 comments on commit 946f5dc

Please sign in to comment.