Skip to content
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

Implement fraudproof generation mode in cosmos-sdk #249

Closed
Tracked by #245 ...
Manav-Aggarwal opened this issue Aug 6, 2022 · 1 comment
Closed
Tracked by #245 ...

Implement fraudproof generation mode in cosmos-sdk #249

Manav-Aggarwal opened this issue Aug 6, 2022 · 1 comment
Assignees
Labels
block-fraud-proofs Block Fraud Proofs (Generation and verification) C: Cevmos Changes related to the cevmos branches C:Store

Comments

@Manav-Aggarwal
Copy link
Member

Manav-Aggarwal commented Aug 6, 2022

Before: When an optimint full node finds a fraudulent block, it tells cosmos-sdk to go into fraudproof generation mode.

After: optimint can supply cosmos-sdk with a fraudulent block and tell it to actually generate a fraudproof.

In the fraudproof generation mode, a cosmos-sdk app reverts its state to a previous state before the fraudulent block was applied and enables tracing for modules specified by optimint, so it is prepared to receive a fraudulent block again but this time log all the operations that happen inside the block.

Parts covered from the cycle of a fraudproof:

Optimint Full Node (Producer of fraudproof)
2. In the fraudproof generation mode, a cosmos-sdk app reverts its state to a previous state before the fraudulent block is applied and enables tracing.

Parent issue: #245

@Manav-Aggarwal Manav-Aggarwal added C: Cevmos Changes related to the cevmos branches block-fraud-proofs Block Fraud Proofs (Generation and verification) C:Store labels Aug 6, 2022
@Manav-Aggarwal Manav-Aggarwal self-assigned this Aug 6, 2022
@Manav-Aggarwal Manav-Aggarwal changed the title Add fraudproof generation mode in cosmos-sdk Implement fraudproof generation mode in cosmos-sdk Aug 6, 2022
@Manav-Aggarwal Manav-Aggarwal linked a pull request Aug 6, 2022 that will close this issue
18 tasks
@Manav-Aggarwal Manav-Aggarwal removed their assignment Aug 9, 2022
@Manav-Aggarwal Manav-Aggarwal self-assigned this Aug 9, 2022
@Manav-Aggarwal
Copy link
Member Author

Fraudproof generation mode is not needed anymore since we use IAVL trees now. Closed by: rollkit#1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
block-fraud-proofs Block Fraud Proofs (Generation and verification) C: Cevmos Changes related to the cevmos branches C:Store
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant