Skip to content

Releases: OffchainLabs/arbitrum-orbit-sdk

v0.15.0

04 Jun 16:36
dd9c21a
Compare
Choose a tag to compare

What's Changed

  • Added getters for createRollup default values (@spsjvc in #104)
    • Including getDefaultConfirmPeriodBlocks and getDefaultSequencerInboxMaxTimeVariation
  • Added createRollupPrepareDeploymentParamsConfig for preparing rollup deployment config (@spsjvc in #100)
    • It is meant to replace createRollupPrepareConfig, which is marked as deprecated(!) and will be removed(!) in a future release
    • It keeps almost exactly the same API, other than requiring a PublicClient of the parent chain in order to provide better defaults
  • Added support for deploying chains on top of Base and Base Sepolia (@spsjvc in #99)
  • Added getValidators for fetching the list of active validators (@chrstph-dvx in #102)
  • Fixed type issue with createRollupPrepareConfig arguments (@spsjvc in #103)
  • Fixed type issue with PublicClient (@spsjvc in #106, #109, #111, #112, #113)
  • Fixed deployment block number for Holesky RollupCreator (@spsjvc in #107)

Full Changelog: v0.14.0...v0.15.0

v0.14.0

21 May 15:47
01ff26d
Compare
Choose a tag to compare

What's Changed

  • Added UpgradeExecutor utilities (@TucksonDev in #29)
  • Added ArbAggregator utilities (@TucksonDev in #91)
  • Fixed issue with rollup address override in rollupAdminLogicPublicActions (@chrstph-dvx in #95)
  • Exported getRollupCreatorAddress, getTokenBridgeCreatorAddress and RollupAdminLogic ABI (@chrstph-dvx in #96)

Full Changelog: v0.13.1...v0.14.0

v0.13.1

07 May 10:41
cd6f351
Compare
Choose a tag to compare

What's Changed

  • Updated ArbGasInfo ABI for ArbOS 20 (@spsjvc in #90)

Full Changelog: v0.13.0...v0.13.1

v0.13.0

30 Apr 21:30
da82025
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.12.0...v0.13.0

v0.12.0

24 Apr 09:55
a7a5fcd
Compare
Choose a tag to compare

What's Changed

  • Fixed an issue with createTokenBridgePrepareSetWethGatewayTransactionRequest where networks weren't registered prior to doing gas estimation with Arbitrum SDK (@chrstph-dvx in #82)
  • Added getArbOSVersion for fetching ArbOS version (@chrstph-dvx in #83)
  • Added getClientVersion for fetching node client version (@spsjvc in #84)

Full Changelog: v0.11.1...v0.12.0

v0.11.1

18 Apr 10:11
623659b
Compare
Choose a tag to compare

What's Changed

  • Updated the NodeConfig type for Nitro v2.3.3 (@spsjvc in #79)

Full Changelog: v0.11.0...v0.11.1

v0.11.0

18 Apr 09:41
438b325
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.10.0...v0.11.0

v0.10.0

12 Apr 12:41
87ad52b
Compare
Choose a tag to compare

What's Changed

  • Added a high level abstraction for createRollup (@fionnachan in #68)
  • Added a high level abstraction for createTokenBridge (@chrstph-dvx in #67)
  • Fixed an issue with networks not being properly registered inside the Arbitrum SDK (@chrstph-dvx in #72)

Full Changelog: v0.9.1...v0.10.0

v0.9.1

09 Apr 10:21
363ef10
Compare
Choose a tag to compare

What's Changed

  • Fixed an issue where the maxDataSize parameter for createRollup was incorrect for some chains (@spsjvc in #73)

Full Changelog: v0.9.0...v0.9.1

v0.9.0

28 Mar 12:07
f07c96c
Compare
Choose a tag to compare

What's Changed

We added actions for the ArbOwner, ArbOwnerPublic and ArbGasInfo precompile contracts (@GreatSoshiant, @spsjvc in #6).

You can utilize these actions by extending an existing PublicClient, for example:

// create a public client for your orbit chain
const publicClient = createPublicClient({
  chain: orbitChain,
  transport: http(),
})
  .extend(arbOwnerPublicActions)
  .extend(arbGasInfoPublicActions);

// add a chain owner through ArbOwner
const addChainOwnerTransactionRequest = await client.arbOwnerPrepareTransactionRequest({
  functionName: 'addChainOwner',
  args: [address],
  // if an upgrade executor is the chain owner, provide the address of said upgrade executor
  // if not, you can set this parameter to false
  upgradeExecutor: upgradeExecutorAddress,
  account,
});

// read the infra fee receiver through ArbOwnerPublic
const infraFeeReceiver = await client.arbOwnerReadContract({
  functionName: 'getInfraFeeAccount',
});

// read l1 base fee estimate inertia through ArbGasInfo
const l1BaseFeeEstimateInertia = await client.arbGasInfoReadContract({
  functionName: 'getL1BaseFeeEstimateInertia',
});

See more examples here and here.

Full Changelog: v0.8.3...v0.9.0