Skip to content

Commit

Permalink
Merge branch 'yield-warp-routes' of https://github.com/ltyu/hyperlane…
Browse files Browse the repository at this point in the history
…-monorepo into yield-warp-routes
  • Loading branch information
ltyu committed Jan 18, 2024
2 parents 9102f9e + eed40f8 commit ee594ae
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion typescript/sdk/src/consts/bytecode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export enum BytecodeHash {
OPT_TRANSPARENT_PROXY_BYTECODE_HASH = '0x30aa3b1506a94c0fe2749af099851623685d9a24a65e2e8b3746c272499979d1', // with optimizer
PROXY_ADMIN_BYTECODE_HASH = '0x13855ae57da3aadecb9259cecece16e1f434b8850fe95531f422e4e262f3f200',
V2_PROXY_ADMIN_BYTECODE_HASH = '0x7c378e9d49408861ca754fe684b9f7d1ea525bddf095ee0463902df701453ba0', // reused from v2
INTERCHAIN_GAS_PAYMASTER_BYTECODE_HASH = '0x69325ab0957fcca37e2eac622af6186380f4cddb279183a97c37511459d40f18',
INTERCHAIN_GAS_PAYMASTER_BYTECODE_HASH = '0xf9c7e93d69bf377a85bce53f6d89a59fc75334d823042014ca32ee6e4d6d8070', // without optimizer
OPT_INTERCHAIN_GAS_PAYMASTER_BYTECODE_HASH = '0x69325ab0957fcca37e2eac622af6186380f4cddb279183a97c37511459d40f18', // optimized
OWNER_INITIALIZABLE_INTERCHAIN_GAS_PAYMASTER_BYTECODE_HASH = '0xd2c5b00ac2d058117491d581d63c3c4fcf6aeb2667c6cc0c7caed359c9eebea1',
OVERHEAD_IGP_BYTECODE_HASH = '0x3cfed1f24f1e9b28a76d5a8c61696a04f7bc474404b823a2fcc210ea52346252',
}
5 changes: 4 additions & 1 deletion typescript/sdk/src/gas/HyperlaneIgpChecker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ export class HyperlaneIgpChecker extends HyperlaneAppChecker<
chain,
'InterchainGasPaymaster implementation',
implementation,
[BytecodeHash.INTERCHAIN_GAS_PAYMASTER_BYTECODE_HASH],
[
BytecodeHash.INTERCHAIN_GAS_PAYMASTER_BYTECODE_HASH,
BytecodeHash.OPT_INTERCHAIN_GAS_PAYMASTER_BYTECODE_HASH,
],
(bytecode) =>
bytecode // We persist the block number in the bytecode now too, so we have to strip it
.replaceAll(
Expand Down

0 comments on commit ee594ae

Please sign in to comment.