Skip to content

cli: add a note about submission key #271

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from

Conversation

pepyakin
Copy link
Contributor

@pepyakin pepyakin commented Mar 4, 2024

nonce handling is assumed to be perfomed only by a single process
in the network. Otherwise, there may be two processes that signed
an extrinsic with the same nonce. This may lead to rejection
of one of the extrinsics.

pepyakin added 3 commits March 4, 2024 15:33
the version that was introduced in #260
(997046d) was using
the latest version of go-da (0.4.0) gRPC service decl.

However, the latest version of rollkit on which the gm
demo was based off, was using 0.2.0. That was causing
occasional problems.

So I went ahead and downgraded it. Now, it seems to
workfine (with exception of #259).

Closes #258.
rollkit demo submits a lot of blobs. In my testing I saw
dozens of blobs submitted at the same time. Ofc submitting
those serially won't cut it, esp. so if waiting until
finalization.

This changeset solves the problem by splitting the signing
part, which is still serial, and the submission, which is
now parallel.

As a drive-by fix, all the errors for rollkit are now
encapsulated into an enum.

Closes #259
nonce handling is assumed to be perfomed only by a single process
in the network. Otherwise, there may be two processes that signed
an extrinsic with the same nonce. This may lead to rejection
of one of the extrinsics.
Copy link
Contributor Author

pepyakin commented Mar 4, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @pepyakin and the rest of your teammates on Graphite Graphite

@pepyakin pepyakin force-pushed the pep-shim-parallel-submission branch from cc076e1 to 2f18d88 Compare March 5, 2024 09:53
Copy link
Contributor

@gabriele-0201 gabriele-0201 left a comment

Choose a reason for hiding this comment

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

Needs to be restacked. Besides that, I'm okay with how the user is informed to be careful with the provided key

Base automatically changed from pep-shim-parallel-submission to main March 25, 2024 08:35
@pepyakin pepyakin closed this Aug 26, 2024
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.

2 participants