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

Add fix to release-1.1 #266

Closed
wants to merge 5 commits into from
Closed

Add fix to release-1.1 #266

wants to merge 5 commits into from

Conversation

Wollac
Copy link
Contributor

@Wollac Wollac commented Oct 1, 2024

This PR adds #254 to release-1.1

Wollac and others added 4 commits October 1, 2024 13:37
Display the complete error chain for EVM errors. Previously, the root
cause, such as network problems, was hidden.
This fixes the current compilation errors.

Previously, we used to use `revm::primitives::HashMap` to have the same
hash in Steel and `revm`. However, with the latest (minor) revm version,
this has been switched to using `alloy_primitves::map::HashMap`. Thus,
in this PR we also replace all `{Hash,BTree}{Map,Set}` with their more
performant and specific equivalent in `alloy_primitives::map`.

### Additional context
- alloy-rs/alloy#1365
Fix clippy warnings form the latest toolchain.

Co-authored-by: Victor Graf <[email protected]>
With the change from `ethers` to `alloy`, we made an error in assuming
they'd handle ABI encoding of `Vec<_>` the same. This broke the `prove`
cheatcode that is used in the Foundry template tests. We did not catch
this error prior to releasing, because we had moved all our tests in
this repo over to using `RiscZeroMockVerifier.mockProve` instead and
forgot to add test coverage specifically for this cheatcode.

This PR fixes the encoding issue and additionally adds a simple test for
using `risc0-forge-ffi` in dev mode.

Additionally, this PR solves a problem where the FFI cheatcode would
fail if `RUST_LOG` is set.

---------

Co-authored-by: Wolfgang Welz <[email protected]>
@Wollac Wollac requested review from capossele and a team as code owners October 1, 2024 11:58
@Wollac
Copy link
Contributor Author

Wollac commented Oct 3, 2024

blocked by #274

@Wollac Wollac closed this Oct 3, 2024
@Wollac Wollac deleted the fix/release-1.1 branch October 3, 2024 11:50
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.

3 participants