Use "literal metadata sources" setting (#21)

This commit is contained in:
Alex Beregszaszi 2020-05-14 11:46:54 +01:00 committed by GitHub
parent 48755f704f
commit 0b50a3e1f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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