Skip to content

Update the golang examples to use the migrated starknet.go module#79

Open
noahhh3 wants to merge 3 commits into
tradeparadex:mainfrom
noahhh3:main
Open

Update the golang examples to use the migrated starknet.go module#79
noahhh3 wants to merge 3 commits into
tradeparadex:mainfrom
noahhh3:main

Conversation

@noahhh3

@noahhh3 noahhh3 commented Jan 28, 2025

Copy link
Copy Markdown

Update existing golang examples to v0.7.2 of github.com/NethermindEth/starknet.go since github.com/dontpanicdao/caigo was migrated to it.

@halink0803

Copy link
Copy Markdown

Thanks. The current go sample is not workable. Pls check and merge this PR.

Comment thread go/signable_starknet.go

@amayvs amayvs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@noahhh3 Could you fix following benchmark

=== RUN   BenchmarkGnarkSignSingleOrder
BenchmarkGnarkSignSingleOrder
    /Users/amay/Code/paradigm/forked/code-samples/go/signable_starknet_test.go:93:
                Error Trace:    /Users/amay/Code/paradigm/forked/code-samples/go/signable_starknet_test.go:93
                Error:          Should be true
                Test:           BenchmarkGnarkSignSingleOrder
                Messages:       signature is invalid: wrong size buffer
--- FAIL: BenchmarkGnarkSignSingleOrder

@noahhh3
noahhh3 requested a review from amayvs June 9, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants