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
contractC {
function g(stringcalldata) externalreturns (bool) { returntrue; }
function main() externalreturns (bool) {
function (stringmemory) externalreturns (bool) ptr =this.g;
returnptr("testString");
}
}
Reproduction: I set up a Solang compilation and execution environment to test the program.
solang/target/debug/vmRunNoPara test.sol C main
The execution error is as follows:
Contract name: C
function new for AmL8rQygnxEpkJ5eiNXcYYYHxGqKsZen5ZChA6Vp7LZr
input: 872ccdc6190148bc
running bpf with calldata:872ccdc6190148bc
program: AmL8rQygnxEpkJ5eiNXcYYYHxGqKsZen5ZChA6Vp7LZr
static: length:0
offset:20 prev:10 next:10 length:0 allocated:0
thread 'main' panicked at src/tests/solana.rs:1778:52:
account 'systemProgram' is missing
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The text was updated successfully, but these errors were encountered:
Version: v0.3.3: Atlantis
Reproduction: I set up a Solang compilation and execution environment to test the program.
The execution error is as follows:
The text was updated successfully, but these errors were encountered: