Skip to content

0.10.0

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Feb 11:08
· 57 commits to main since this release
41b074c

What's Changed

Breaking changes

  • Account, StandardAccount
    • all methods that have v1, v2 and v3 variants now have V1, V2, V3 postfixes respectively
    • estimateFeeV(1|3) no longer accepts Set<SimulationFlagForEstimateFee>, instead takes skipValidate: Bool
  • Deployer, StandardDeployer: deployContract renamed to deployContractV1; Added deployContractV3
  • Removed transaction v3 parameters (tip, paymasterData, accountDeploymentData, nonceDataAvailabilityMode, feeDataAvailabilityMode) from TransactionPayload constructors
  • Removed transaction v3 parameters (tip, paymasterData, accountDeploymentData, nonceDataAvailabilityMode, feeDataAvailabilityMode) from TransactionFactory methods
  • Renamed ExecutionParamsV3 -> InvokeParamsV3
  • Removed StarknetChainId enum; Use Felt.toShortString and Felt.fromShortString to convert to and from readable name
    • Provider.getChainId() now returns Felt instead of StarknetChainId
    • TransactionHashCalculator methods now accept chainId as Felt, not StarknetChainId
    • TransactionFactory methods now accept chainId as Felt, not StarknetChainId

Full Changelog: 0.9.2...0.10.0