Skip to content
New issue

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

change default gas_limit to max #9

Closed
RetricSu opened this issue Apr 30, 2021 · 1 comment
Closed

change default gas_limit to max #9

RetricSu opened this issue Apr 30, 2021 · 1 comment

Comments

@RetricSu
Copy link
Collaborator

RetricSu commented Apr 30, 2021

now it is 21000n, it is not enough for testing deploying bigger contract.

if you ever encounter a godwoken status code => 3 problem, you can manully change this line to bigger number like 12500000n. https://github.com/RetricSu/godwoken-examples/blob/b0039c875464f052b15c44709c7f4f94e5014558/packages/runner/src/api.ts#L666

@RetricSu
Copy link
Collaborator Author

since we are using metamask directly, this is no longer the case. Closed.

jjyr pushed a commit to jjyr/godwoken-kicker that referenced this issue Jul 17, 2021
jjyr pushed a commit to jjyr/godwoken-kicker that referenced this issue Jul 17, 2021
## ERROR: AddressSanitizer: global-buffer-overflow
WRITE of size 3 at 0x0000012ac7a0 thread T0
    #0 0x4b4313 in vsprintf /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:1668:1
    godwokenrises#1 0x4b5293 in sprintf /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:1711:1
    godwokenrises#2 0x58ffbe in debug_print_data(char const*, unsigned char const*, unsigned int) /godwoken-polyjuice/polyjuice-tests/fuzz/c/polyjuice_utils.h:24:15
    godwokenrises#3 0x5b0fc5 in handle_message(gw_context_t*, unsigned int, unsigned int, evmc_address*, evmc_message const*, evmc_result*) /godwoken-polyjuice/polyjuice-tests/fuzz/c/polyjuice.h:1092:3
    godwokenrises#4 0x5b65f8 in run_polyjuice() /godwoken-polyjuice/polyjuice-tests/fuzz/c/polyjuice.h:1176:28
    godwokenrises#5 0x5b792a in LLVMFuzzerTestOneInput /godwoken-polyjuice/polyjuice-tests/fuzz/polyjuice_generator_fuzzer.cc:113:3
    godwokenrises#6 0x45e971 in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:559:15
    godwokenrises#7 0x45e0b5 in fuzzer::Fuzzer::RunOne(unsigned char const*, unsigned long, bool, fuzzer::InputInfo*, bool*) /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:471:3
    godwokenrises#8 0x45fef7 in fuzzer::Fuzzer::ReadAndExecuteSeedCorpora(std::__Fuzzer::vector<fuzzer::SizedFile, fuzzer::fuzzer_allocator<fuzzer::SizedFile> >&) /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:771:7
    godwokenrises#9 0x4600f9 in fuzzer::Fuzzer::Loop(std::__Fuzzer::vector<fuzzer::SizedFile, fuzzer::fuzzer_allocator<fuzzer::SizedFile> >&) /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:800:3
    godwokenrises#10 0x450295 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:847:6
    godwokenrises#11 0x477092 in main /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
    godwokenrises#12 0x7f10dbdbe564 in __libc_start_main csu/../csu/libc-start.c:332:16
    godwokenrises#13 0x424e9d in _start (/godwoken-polyjuice/polyjuice-tests/fuzz/build/polyjuice_generator_fuzzer_log+0x424e9d)

0x0000012ac7a0 is located 0 bytes to the right of global variable 'debug_buffer' defined in 'c/generator/../polyjuice_utils.h:18:13' (0x129c7a0) of size 65536
SUMMARY: AddressSanitizer: global-buffer-overflow /home/nnelson/Documents/llvm-project/llvm/utils/release/final/llvm-project/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors.inc:1668:1 in vsprintf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant