mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-18 22:51:13 +00:00
Use "literal metadata sources" setting (#21)
This commit is contained in:
parent
48755f704f
commit
0b50a3e1f5
2
Makefile
2
Makefile
@ -4,7 +4,7 @@ clean:
|
||||
@rm -f DepositContract.abi DepositContract.bin IDepositContract.abi IDepositContract.bin deposit_contract.json
|
||||
|
||||
compile: clean
|
||||
@solc --bin --abi --overwrite -o . deposit_contract.sol
|
||||
@solc --metadata-literal --bin --abi --overwrite -o . deposit_contract.sol
|
||||
@echo -n '{"abi": ' > deposit_contract.json
|
||||
@cat DepositContract.abi >> deposit_contract.json
|
||||
@echo -n ', "bytecode": "0x' >> deposit_contract.json
|
||||
|
Loading…
x
Reference in New Issue
Block a user