You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coming from the Moccasin course, I found a TypeError with the recent releases of zkvyper.
With v1.5.7 no problem, but if we try to upgrade zkvyper we get the following error while compiling files on anvil-zksync:
TypeError: ZksyncCompilerData.__init__() got an unexpected keyword argument 'ir_json'
It seems the matter-lab team added the ir_json arg. I did not make any research on that, but maybe I can try to check.
Otherwise, here is the full stack trace:
Stack trace
multiprocessing.pool.RemoteTraceback: """Traceback (most recent call last): File "/home/s3bc40/.local/share/uv/python/cpython-3.13.1-linux-x86_64-gnu/lib/python3.13/multiprocessing/pool.py", line 125, in worker result = (True, func(*args, **kwds)) ~~~~^^^^^^^^^^^^^^^ File "/home/s3bc40/.local/share/uv/tools/moccasin/lib/python3.13/site-packages/moccasin/commands/compile.py", line 217, in compile_noret compile_(*args, **kwargs) ~~~~~~~~^^^^^^^^^^^^^^^^^ File "/home/s3bc40/.local/share/uv/tools/moccasin/lib/python3.13/site-packages/moccasin/commands/compile.py", line 159, in compile_ deployer: VyperDeployer | VVMDeployer = load_partial( ~~~~~~~~~~~~^ str(contract_path), compiler_args ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "/home/s3bc40/.local/share/uv/tools/moccasin/lib/python3.13/site-packages/boa/interpret.py", line 271, in load_partial return loads_partial( f.read(), name=filename, filename=filename, compiler_args=compiler_args ) File "/home/s3bc40/.local/share/uv/tools/moccasin/lib/python3.13/site-packages/boa/interpret.py", line 266, in loads_partial return deployer_class(data, filename=filename) File "/home/s3bc40/.local/share/uv/tools/moccasin/lib/python3.13/site-packages/boa_zksync/deployer.py", line 23, in __init__ zkvyper_data = self._compile(compiler_data, contract_name, filename) File "/home/s3bc40/.local/share/uv/tools/moccasin/lib/python3.13/site-packages/boa_zksync/deployer.py", line 40, in _compile return compile_zksync(contract_name, filename, compiler_args) File "/home/s3bc40/.local/share/uv/tools/moccasin/lib/python3.13/site-packages/boa_zksync/compile.py", line 33, in compile_zksync return ZksyncCompilerData( contract_name, ...<4 lines>... **compile_output, )TypeError: ZksyncCompilerData.__init__() got an unexpected keyword argument 'ir_json'"""The above exception was the direct cause of the following exception:Traceback (most recent call last): File "/home/s3bc40/.local/bin/mox", line 8, in <module> sys.exit(main()) ~~~~^^ File "/home/s3bc40/.local/share/uv/tools/moccasin/lib/python3.13/site-packages/moccasin/__init__.py", line 8, in main __main__.main(sys.argv[1:]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "/home/s3bc40/.local/share/uv/tools/moccasin/lib/python3.13/site-packages/moccasin/__main__.py", line 58, in main import_module(f"moccasin.commands.{command_to_run}").main(args) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^ File "/home/s3bc40/.local/share/uv/tools/moccasin/lib/python3.13/site-packages/moccasin/commands/compile.py", line 45, in main compile_project( ~~~~~~~~~~~~~~~^ project_path, ^^^^^^^^^^^^^ ...<3 lines>... write_data=True, ^^^^^^^^^^^^^^^^ ) ^ File "/home/s3bc40/.local/share/uv/tools/moccasin/lib/python3.13/site-packages/moccasin/commands/compile.py", line 133, in compile_project job.get() ~~~~~~~^^ File "/home/s3bc40/.local/share/uv/python/cpython-3.13.1-linux-x86_64-gnu/lib/python3.13/multiprocessing/pool.py", line 774, in get raise self._valueTypeError: ZksyncCompilerData.__init__() got an unexpected keyword argument 'ir_json'
Extra info
anvil-zksync --version
anvil-zksync 0.2.1
If you need more info, ask me 👍
The text was updated successfully, but these errors were encountered:
s3bc40
added a commit
to s3bc40/moccasin
that referenced
this issue
Feb 27, 2025
`just test-z` running successfully in the devcontainer.
Stable versions:
- `zkvyper` 1.5.7 -> vyperlang/titanoboa-zksync#41
- `anvil-zksync` 0.3.0 -> matter-labs/anvil-zksync#597 (comment)
Found issue on anvil-zksync processes not stoping properly, but it's not related to the dockerfile.
Hey 👋
Coming from the Moccasin course, I found a
TypeError
with the recent releases of zkvyper.With
v1.5.7
no problem, but if we try to upgradezkvyper
we get the following error while compiling files onanvil-zksync
:TypeError: ZksyncCompilerData.__init__() got an unexpected keyword argument 'ir_json'
It seems the matter-lab team added the
ir_json
arg. I did not make any research on that, but maybe I can try to check.Otherwise, here is the full stack trace:
Stack trace
Extra info
If you need more info, ask me 👍
The text was updated successfully, but these errors were encountered: