Roy Crihfield
72e2e4ce50
- Changes contract tests for EIP-6780 (selfdestruct change) - see cerc-io/ipld-eth-server#264. - Beacon block roots are now injected into the blockchain before processing transactions (https://eips.ethereum.org/EIPS/eip-4788) Reviewed-on: #8 Reviewed-by: jonathanface <jonathanface@noreply.git.vdb.to>
15 lines
369 B
Makefile
15 lines
369 B
Makefile
CONTRACTS_DIR := ./test/contract/contracts
|
|
CONTRACTS_OUTPUT_DIR := ./internal/testdata/build
|
|
|
|
CONTRACTS := GLDToken Test
|
|
|
|
contracts: $(foreach C,$(CONTRACTS), $(CONTRACTS_OUTPUT_DIR)/$C.bin $(CONTRACTS_OUTPUT_DIR)/$C.abi)
|
|
.PHONY: contracts
|
|
|
|
test: contracts
|
|
go test -p 1 -v ./pkg/...
|
|
.PHONY: test
|
|
|
|
clean:
|
|
rm $(CONTRACTS_OUTPUT_DIR)/*.bin $(CONTRACTS_OUTPUT_DIR)/*.abi
|