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

feat: R55 crate error handling #13

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

0xurb
Copy link
Contributor

@0xurb 0xurb commented Nov 14, 2024

  • r55 crate
  • syscalls crate
  • interpreter crate

eth-riscv-interpreter.workspace = true
eth-riscv-syscalls.workspace = true

revm = "9.0.0"
#revm = { git = "https://github.com/r0qs/revm" }
Copy link
Collaborator

Choose a reason for hiding this comment

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

we can remove this actually

eth-riscv-interpreter.workspace = true
eth-riscv-syscalls.workspace = true

revm = "9.0.0"
#revm = { git = "https://github.com/r0qs/revm" }
revm = { version = "9.0.0", features = ["std"] }
Copy link
Collaborator

Choose a reason for hiding this comment

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

why do we need std?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

for error conversion

RvEmuException(Exception),
/// EVM error
#[error(transparent)]
EvmError(#[from] EVMError<DB::Error>),
Copy link
Collaborator

Choose a reason for hiding this comment

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

where do we use this one?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

on evm transact we use EVM error, exception is on getting dram slice

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