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

Chisel can't fetch interface with structures #6618

Open
1 of 2 tasks
drortirosh opened this issue Dec 18, 2023 · 0 comments
Open
1 of 2 tasks

Chisel can't fetch interface with structures #6618

drortirosh opened this issue Dec 18, 2023 · 0 comments
Labels
T-bug Type: bug

Comments

@drortirosh
Copy link

Component

Chisel

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

chisel 0.2.0 (87bf7e4 2023-12-03T00:19:34.966026000Z)

What command(s) is the bug in?

chisel

Operating System

None

Describe the bug

Chisel fetch command doesn't handle solidity structs (tuples):

$ chisel
Welcome to Chisel! Type `!help` to show available commands.
 !c
Cleared session!
 !fe 0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789 EntryPoint
Added 0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789's interface to source as `EntryPoint`
➜ uint a=1;
Compiler errors:
Error (2314): Expected ',' but got 'memory'
  --> ReplContract.sol:12:31:
   |
12 | 	error ValidationResult(tuple memory,tuple memory,tuple memory,tuple memory);
   | 	                             ^^^^^^
@drortirosh drortirosh added the T-bug Type: bug label Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-bug Type: bug
Projects
No open projects
Status: Todo
Development

No branches or pull requests

1 participant