Skip to content

Commit

Permalink
Merge branch 'main' of ssh://github.com/OffchainLabs/arbitrum-sdk int…
Browse files Browse the repository at this point in the history
…o non-18-decimal-rescale
  • Loading branch information
brtkx committed Jul 17, 2024
2 parents 8d09fb0 + 27c5b6d commit 43988b7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 41 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arbitrum/sdk",
"version": "3.6.0",
"version": "3.7.0",
"description": "Typescript library client-side interactions with Arbitrum",
"author": "Offchain Labs, Inc.",
"license": "Apache-2.0",
Expand Down
40 changes: 1 addition & 39 deletions src/lib/dataEntities/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ export const networks: Networks = {
isCustom: false,
name: 'Arbitrum Rollup Sepolia Testnet',
partnerChainID: 11155111,
partnerChainIDs: [13331371],
partnerChainIDs: [],
retryableLifetimeSeconds: SEVEN_DAYS_IN_SECONDS,
tokenBridge: {
l1CustomGateway: '0xba2F7B6eAe1F9d174199C5E4867b563E0eaC40F3',
Expand All @@ -310,44 +310,6 @@ export const networks: Networks = {
depositTimeout: 1800000,
blockTime: ARB_MINIMUM_BLOCK_TIME_IN_SECONDS,
},
13331371: {
chainID: 13331371,
confirmPeriodBlocks: 20,
ethBridge: {
bridge: '0x024a10506f8a27E4CfEDeB18fd30AA1529A2960E',
inbox: '0xcdCF1F59f5d4A65a3c67E1341f8b85Cba50E0a7C',
outbox: '0xf731Fc4F7B70A0a6F9915f452d88Dc405a59D8b1',
rollup: '0x01a8a2b32aa5328466Be47A1808a03aC6c35d94f',
sequencerInbox: '0x1Ea8B3853355604673e1301A501766EbB2987a09',
},
explorerUrl: 'https://stylusv2-explorer.arbitrum.io',
isArbitrum: true,
isCustom: false,
name: 'Stylus Testnet v2',
partnerChainID: 421614,
partnerChainIDs: [],
retryableLifetimeSeconds: SEVEN_DAYS_IN_SECONDS,
tokenBridge: {
l1CustomGateway: '0x093353B9f723047abf37Ebe01cE48d7dDA8320F4',
l1ERC20Gateway: '0xD2C4693Dd8d44703af5CF9484fa8faAD6e33E392',
l1GatewayRouter: '0xAC4F454320A253267C6Ae95e4784b9A4f9F78359',
l1MultiCall: '0xce1CAd780c529e66e3aa6D952a1ED9A6447791c1',
l1ProxyAdmin: '0xBD76fd3fB5F3CD7165fB6e0DB895FFE1d81463e3',
l1Weth: '0x980B62Da83eFf3D4576C647993b0c1D7faf17c73',
l1WethGateway: '0x4FEbc93233aAc1523f36Abe297de9323f6C8ce79',
l2CustomGateway: '0xE102D94df0179082B39Ddcad58c9430dedc89aE3',
l2ERC20Gateway: '0xCf3a4aF3c48Ba19c5FccFB44FA3E3A0F2A6e60dA',
l2GatewayRouter: '0xD60FD4c5D335b00287202C93C5B4EE0478D92686',
l2Multicall: '0x39E068582873B2011F5a1e8E0F7D9D993c8111BC',
l2ProxyAdmin: '0x9DC4Da9a940AFEbBC8329aA6534aD767b60d968c',
l2Weth: '0xa3bD1fdeEb903142d16B3bd22f2aC9A82C714D62',
l2WethGateway: '0xec018E81eE818b04CFb1E013D91F1b779a2AC440',
},
nitroGenesisBlock: 0,
nitroGenesisL1Block: 0,
depositTimeout: 900000,
blockTime: ARB_MINIMUM_BLOCK_TIME_IN_SECONDS,
},
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/network.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ describe('Networks', async () => {
const l2NetworksEntries = Object.entries(l2Networks)
const l2NetworksKeys = l2NetworksEntries.map(([key]) => key)

const expected = [42161, 42170, 421614, 13331371]
const expected = [42161, 42170, 421614]
//
.map(id => id.toString())

Expand Down

0 comments on commit 43988b7

Please sign in to comment.