We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I write a AssemblyScript code like:
@external("env", "wasm_input") declare function wasm_input(x: i32): i64 @external("env", "require") declare function require(x: i32): void export function zkmain(): void { //一次性读出n个数据不过分吧。 var arra: i64[] = []; let count = wasm_input(0); for (var i = 0; i < count; i++) { let v = wasm_input(0); arra.push(v); } var datab = wasm_input(1); require(arra[0] == datab); }
and got a error when setup: Error: Validation: Unknown opcode 252
The text was updated successfully, but these errors were encountered:
I write a AssemblyScript code like: @external("env", "wasm_input") declare function wasm_input(x: i32): i64 @external("env", "require") declare function require(x: i32): void export function zkmain(): void { //一次性读出n个数据不过分吧。 var arra: i64[] = []; let count = wasm_input(0); for (var i = 0; i < count; i++) { let v = wasm_input(0); arra.push(v); } var datab = wasm_input(1); require(arra[0] == datab); } and got a error when setup: Error: Validation: Unknown opcode 252
Run command such as asc zk.ts -O --noAssert -o ../zk_testc1.wasm --disable bulk-memory --runtime stub --use abort=zk/abort.
asc zk.ts -O --noAssert -o ../zk_testc1.wasm --disable bulk-memory --runtime stub --use abort=zk/abort
Sorry, something went wrong.
Closed as solved.
No branches or pull requests
I write a AssemblyScript code like:
and got a error when setup:
Error: Validation: Unknown opcode 252
The text was updated successfully, but these errors were encountered: