Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Commit

Permalink
Merge pull request #93 from nervosnetwork/fix-GW_MAX_DATA_SIZE
Browse files Browse the repository at this point in the history
fix(limitations): tune GW_MAX_DATA_SIZE to 25KB
  • Loading branch information
jjyr authored Oct 8, 2021
2 parents bc234cf + ae26c85 commit e7940b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions c/polyjuice.h
Original file line number Diff line number Diff line change
Expand Up @@ -928,6 +928,7 @@ int store_contract_code(gw_context_t* ctx,
return ret;
}
ckb_debug("BEGIN store data");
debug_print_int("contract_code_len", res->output_size);
ret = ctx->sys_store_data(ctx, res->output_size, (uint8_t*)res->output_data);
ckb_debug("END store data");
if (ret != 0) {
Expand Down
2 changes: 1 addition & 1 deletion c/polyjuice_globals.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#ifndef POLYJUICE_GLOBALS_H
#define POLYJUICE_GLOBALS_H

#define POLYJUICE_VERSION "v0.8.7"
#define POLYJUICE_VERSION "v0.8.8"
#define POLYJUICE_SHORT_ADDR_LEN 20
/* 32 + 4 + 20 */
#define SCRIPT_ARGS_LEN 56
Expand Down
2 changes: 1 addition & 1 deletion deps/godwoken-scripts

0 comments on commit e7940b2

Please sign in to comment.