WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 25, 2025

Bumps github.com/NethermindEth/starknet.go from 0.7.0 to 0.17.1.

Release notes

Sourced from github.com/NethermindEth/starknet.go's releases.

v0.17.1

This release implements Starknet RPC v0.9.0

This release is exclusively to support the use of the new Blake2s hash when sending DECLARE transactions. Starknet.go will automatically fetch the current Starknet version and decide whether to use the Blake2s hash function when using the account.BuildAndSendDeclareTxn method. See the description of the new opts.UseBlake2sHash param to know more.

For more details, see the CHANGELOG file.

What's Changed

Full Changelog: NethermindEth/starknet.go@v0.17.0...v0.17.1

v0.17.0

This release implements Starknet RPC v0.9.0

Key changes:

  • New paymaster pkg for interacting with paymaster services via the SNIP-29 API (see the examples/paymaster folder to learn how to use it).
  • Now, all the account.BuildAndSend* methods will automatically estimate and set the tip to be used in the transaction based on the average tip of all transactions in the latest block. The user can set a custom tip by setting the CustomTip field in the opts *TxnOptions parameter to override the automatic estimation.
  • The rpc.NewProvider function now returns an error if the node RPC version is different from the version implemented by the starknet.go provider. The returned Provider instance is still valid, but there might be unexpected behaviour due to the spec differences.
  • New rpc.EstimateTip and rpc.IsCompatible utility functions.
  • Two bug fixes in utilities related to fee calculation.

For more details, see the CHANGELOG file.

What's Changed

New Contributors

Full Changelog: NethermindEth/starknet.go@v0.16.0...v0.17.0

v0.16.0

This release implements Starknet RPC v0.9.0

... (truncated)

Changelog

Sourced from github.com/NethermindEth/starknet.go's changelog.

0.17.1 - 2025-11-25

Added

  • curve pkg:
    • new Blake2s and Blake2sArray functions.
  • hash pkg:
    • new CompiledClassHashV2 function to compute the compiled class hash using the Blake2s hash function.
  • utils pkg:
    • new UseBlake2sHash param in the TxnOptions struct to be used by the BuildDeclareTxn function.
  • account pkg:
    • new UseBlake2sHash param in the TxnOptions struct to be used by the BuildAndSendDeclareTxn method.

Changed

  • In the account.BuildAndSendDeclareTxn method, if the new opts.UseBlake2sHash param is nil, Starknet.go will automatically fetch the current Starknet version and decide whether to use the Blake2s hash function.

0.17.0 - 2025-11-06

Added

  • New paymaster pkg for interacting with paymaster services via the SNIP-29 API.
  • New examples/paymaster folder with examples of how to use the paymaster pkg.
  • New rpc.IsCompatible function utility to check if the node RPC version is compatible with the version implemented by the starknet.go provider.
  • new rpc.EstimateTip function utility to estimate the tip to be used in a transaction.
  • New rpc.ErrIncompatibleVersion error variable, used in the rpc.NewProvider function.
  • New rpc.U128.ToBigInt() method to convert the rpc.U128 type to a *big.Int, also validating if the value is within the range of a uint128.
  • New utils.CustomFeeEstToResBoundsMap function that does the same as utils.FeeEstToResBoundsMap, but accepts a utils.FeeLimits parameter to set custom limits for the resource bounds instead of using the Starknet default limits.

Changed

  • The rpc.NewProvider and rpc.NewWebsocketProvider functions now accept a context.Context parameter.
  • The rpc.NewProvider function now returns an error if the node RPC version is different from the version implemented by the starknet.go provider. The returned Provider instance is still valid, but there might be unexpected behaviour.
  • The typedata pkg was renamed to typeddata, fixing the typo in the package name introduced in v0.16.0.
  • Now, all the account.BuildAndSend* methods will automatically estimate and set the tip to be used in the transaction based on the average tip of all transactions in the latest block. The user can set a custom tip by setting the CustomTip field in the TxnOptions type to override the automatic estimation.
  • In the account.TxnOptions type:
    • The Tip field was renamed to CustomTip.
    • The Multiplier field was renamed to FeeMultiplier.
    • New TipMultiplier field was added to set the multiplier to be used when automatically estimating the tip.

Removed

  • The warning message when the node RPC version is different from the version implemented by the starknet.go provider when calling the rpc.NewProvider function. Now, an error is returned instead.

Fixed

  • The utils.FeeEstToResBoundsMap function was using the max uint64 value for the L2 gas amount limit instead of the limit defined by Starknet, causing the txn to be rejected by the node when the amount was greater than the limit. Now, the limit is used correctly, and it's returned in the case of overflow.
  • The utils.ResBoundsMapToOverallFee function was not considering the tip when calculating the overall fee, causing incorrect fee calculations.

0.16.0 - 2025-10-14

... (truncated)

Commits
  • d8bbb2b feat: Blake2s implementation (#821)
  • 262d3a9 Documentation for v0.17.0 SDK Release (#822)
  • b31381f chore: update CHANGELOG for version 0.17.0 release
  • 05b602a feat: tip estimation utility + automatically tip estimation for account metho...
  • 7a57b4e chore: remove unused .all-contrigutorsrc file
  • 86bc7d7 chore: update changelog to reflext the overall fee calculation fix
  • 269178c fix: Overall Fee calculation (#820)
  • 0b9c66f Thiagodeev/fix-fee-limit (#819)
  • 718d85f chore(deps): bump hono from 4.10.2 to 4.10.3 in /docs in the npm_and_yarn gro...
  • 53679c7 refactor: rename typedata package to typeddata (#811)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Nov 25, 2025
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/NethermindEth/starknet.go-0.17.1 branch from fe242d0 to c074519 Compare December 3, 2025 00:16
Bumps [github.com/NethermindEth/starknet.go](https://github.com/NethermindEth/starknet.go) from 0.7.0 to 0.17.1.
- [Release notes](https://github.com/NethermindEth/starknet.go/releases)
- [Changelog](https://github.com/NethermindEth/starknet.go/blob/main/CHANGELOG.md)
- [Commits](NethermindEth/starknet.go@v0.7.0...v0.17.1)

---
updated-dependencies:
- dependency-name: github.com/NethermindEth/starknet.go
  dependency-version: 0.17.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/NethermindEth/starknet.go-0.17.1 branch from c074519 to 2850f2e Compare December 11, 2025 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant