Releases: OffchainLabs/arbitrum-orbit-sdk
Releases · OffchainLabs/arbitrum-orbit-sdk
v0.15.0
What's Changed
- Added getters for
createRollup
default values (@spsjvc in #104)- Including
getDefaultConfirmPeriodBlocks
andgetDefaultSequencerInboxMaxTimeVariation
- Including
- 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
- It is meant to replace
- 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
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
andRollupAdminLogic
ABI (@chrstph-dvx in #96)
Full Changelog: v0.13.1...v0.14.0
v0.13.1
v0.13.0
What's Changed
- Added RollupAdminLogic actions (@fionnachan and @chrstph-dvx in #70)
- Added SequencerInbox actions (@chrstph-dvx in #71)
- Fixed an issue with
arbOwnerPrepareTransactionRequest
where the type forargs
wasn't being inferred (@chrstph-dvx in #86)
Full Changelog: v0.12.0...v0.13.0
v0.12.0
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
v0.11.0
What's Changed
- Made Beacon RPC URL required for L2 chains in
prepareNodeConfig
(@TucksonDev in #76) - Made ArbOS 20 the default (@TucksonDev in #78)
Full Changelog: v0.10.0...v0.11.0
v0.10.0
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
v0.9.0
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