SDK and CLI Releases March 2024

cLabs developer tooling team has released betas for the next releases of the celocli and typescript sdks.

Full release notes at Version Packages (beta) by github-actions[bot] · Pull Request #188 · celo-org/developer-tooling · GitHub

but highlights below

for @celo/celocli@5.0.0-beta.0

  • --gasCurrency changed to accept only whitelisted addresses or the string CELO instead of previously accepting a StableToken or ‘auto’ this will makes working with any fee currency approved by governance possible without further code modifications

  • new command celocli network:whitelist prints the whitelisted feeCurrencies

@celo/contractkit@8.0.0-beta.0 and @celo/connect@5.3.0-beta.0

  • Add support Type 0 Ethereum-compatible legacy TXs – transactions using gasPrice now default to this instead of the celo-legacy tx type

all @celo sdks

  • update web3 to 1.10.4 – if you are are using typescript and passing web3 into you may need to update your web3 verison as well
2 Likes
  • Add support Type 0 Ethereum-compatible legacy TXs – transactions using gasPrice now default to this instead of the celo-legacy tx type

note there is a bug in beta 0 of cli regarding setting gasCurrency config and then switching nodes. we recommend not configuring the default gasCurrency globally at this time