Skip to content

[ZK Stack] - Cannot execute Seaport 1.6 fulfillment txs due to incorrect calldatasize/offset #744

Answered by popzxc
stephankmin asked this question in ZK Stack
Discussion options

You must be logged in to vote

Hey! It's hard to say what exactly goes wrong here, because the contract is pretty complex and relies heavily on the assembly.
As Antonio pointed out, the repository you linked seems to be private, so I looked at the verified code on the Abstract testnet instead.

One thought I have may be the msize-related differences. Could it be that some of the allocations are optimized away which affects the calculations for the offsets?

It might make sense to try deploying & running the contract without any optimizations to see if the problem persists. If it does, we may try to look into it, but ideally we would need a minimal reproducible example, since trying to learn a big & complex codebase may b…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@stephankmin
Comment options

Comment options

You must be logged in to vote
1 reply
@stephankmin
Comment options

Answer selected by dutterbutter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
ZK Stack
Labels
zk-stack ZK Stack Question
3 participants