-
-
Notifications
You must be signed in to change notification settings - Fork 680
Closed
Description
Pardon again, I compiled my assemblyscript program to wasm text. Then I deploy the code on a webassembly virtual machine. It throws the below exceptions when it running.
Error parsing WebAssembly text file:
invalid stack access
(if (result i32)
(if (result i32)
(i64.eq
(call $token/CurrencyStats#primaryKey
(get_local $1)
)
(call $token/CurrencyStats#primaryKey
(i32.load offset=12
(call $~lib/array/Array<DataItem<CurrencyStats>>#__get
(i32.load offset=24
(get_local $0)
)
(get_local $3)
)
)
)
)
stack was not empty at end of control structure: stack.size() > controlStack.back().outerStackSize
(block $break|0
(block $break|0
(loop $repeat|0
(br_if $break|0
(i32.ge_u
(get_local $1)
(get_local $4)
)
)
I used the interface in my code. Because of the project and code is too long, so I don't paste the code. Can you give me some advice to solve this problem?
Metadata
Metadata
Assignees
Labels
No labels