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
Case in point: KT1VvnQFn9v3oHA7JLTdDZD6hdAx3T4TnUA2 on Hangzhou-net fails with Contract has no valid %metadata big-map! despite containing (big_map %metadata string bytes) within the top-level tree of nested pairs (as per spec). storage is declared as
The culprit:
tezos-contract-metadata/src/lib/micheline_helpers.ml
Line 57 in 4c1f5dc
Case in point: KT1VvnQFn9v3oHA7JLTdDZD6hdAx3T4TnUA2 on Hangzhou-net fails with
Contract has no valid %metadata big-map!
despite containing(big_map %metadata string bytes)
within the top-level tree of nested pairs (as per spec).storage
is declared asthe corresponding Micheline representation is
Notice the
pair
constructor here has 4 arguments in the Micheline representation, while the code only looks for cases where there are exactly 2.The text was updated successfully, but these errors were encountered: