Skip to content

Commit

Permalink
update PROTOCOL_VERSION following godwokenrises/pull/41
Browse files Browse the repository at this point in the history
  • Loading branch information
floustar committed Jul 1, 2021
1 parent bcd057d commit 62e07be
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions polyjuice-tests/fuzz/Makefile
Expand Up @@ -34,10 +34,11 @@ CFLAGS := -Wall -O2 -I../../c -I../../c/ripemd160 $(CFLAGS_CKB_STD) $(CFLAGS_ETH
CXXFLAGS := $(CFLAGS) -std=c++1z
LDFLAGS := -Wl,--gc-sections
SANITIZER_FLAGS := -g -O1 -fsanitize=address,undefined -Wno-incompatible-pointer-types
LIMIT_ERROR := -ferror-limit=1

MOLC := moleculec
MOLC_VERSION := 0.6.1
PROTOCOL_VERSION := 46d9c4c5b33fcfece3300b6ac9ed3263eb00e3af
PROTOCOL_VERSION := 888f0e9fc02adf0a52592dda1ddf283a596a7459
PROTOCOL_SCHEMA_URL := https://raw.githubusercontent.com/nervosnetwork/godwoken/${PROTOCOL_VERSION}/crates/types/schemas

ALL_OBJS := $(BUILD)/keccak.o $(BUILD)/keccakf800.o \
Expand Down Expand Up @@ -93,7 +94,7 @@ build/generator: ../../c/generator.c $(GENERATOR_DEPS)
cd $(SECP_DIR) && (git apply -R workaround-fix-g++-linking.patch || true) && cd - # revert patch
build/generator_log: ../../c/generator.c $(GENERATOR_DEPS)
cd $(SECP_DIR) && (git apply workaround-fix-g++-linking.patch || true) && cd - # apply patch
$(CXX) $(CFLAGS) $(LDFLAGS) $(SANITIZER_FLAGS) -ferror-limit=1 -Ibuild -o $@ ../../c/generator.c $(ALL_OBJS)
$(CXX) $(CFLAGS) $(LDFLAGS) $(SANITIZER_FLAGS) -Ibuild -o $@ ../../c/generator.c $(ALL_OBJS)
$(OBJCOPY) --only-keep-debug $@ $@.debug
$(OBJCOPY) --strip-debug --strip-all $@
cd $(SECP_DIR) && (git apply -R workaround-fix-g++-linking.patch || true) && cd - # revert patch
Expand Down

0 comments on commit 62e07be

Please sign in to comment.