Open
Description
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
1.0.0-nightly
What version of Foundryup are you on?
No response
What command(s) is the bug in?
just gen-bindings
Operating System
MacOS
Describe the bug
On 6e86d3c of EspressoSystems/espresso-network#2706, just run gen-bindings
which internally run
forge bind --skip test --skip script --libraries contracts/src/libraries/PlonkVerifier.sol:PlonkVerifier:0x5fbdb2315678afecb367f032d93f642f64180aa3 --alloy --contracts ./contracts/src/ --crate-name contract-bindings-alloy --bindings-path contract-bindings-alloy --select "^LightClient(V\d+)?$|^LightClientArbitrum(V\d+)?$|^FeeContract$|^PlonkVerifier(V\d+)?$|^ERC1967Proxy$|^LightClient(V\d+)?Mock$|^PermissionedStakeTable$" --overwrite --force
and got:
[⠊] Compiling 44 files with Solc 0.8.23
[⠒] Solc 0.8.23 finished in 8.32s
Compiler run successful!
Generating bindings for 11 contracts
Error: failed to parse generated tokens as an AST for contract-bindings-alloy/src/lightclientarbitrumv2.rs:lightclientarbitrumv2;
this is likely a bug
Context:
- expected identifier, found keyword `self`
Before this PR, our main
has no problem generating bindings (for both ethers and alloys) using the same just command.
p.s. the problem with contract-bindings-alloy/src/lightclientarbitrumv2.rs:lightclientarbitrumv2;
also exists for contract-bindings-alloy/src/lightclientv2.rs:lightclientv2;
as I have observed that before as well.
cc @sveitser
Metadata
Metadata
Assignees
Type
Projects
Status
Completed