From 43460cac9be81da11e5d786ce91c91fffbd5be21 Mon Sep 17 00:00:00 2001 From: salaheldinsoliman Date: Mon, 24 Jun 2024 19:47:01 +0200 Subject: [PATCH] fix contracts build dir Signed-off-by: salaheldinsoliman --- .../tutorial-examples/solidity/tests/get_balance_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/documentation/tutorial-examples/solidity/tests/get_balance_test.go b/documentation/tutorial-examples/solidity/tests/get_balance_test.go index 34dff21890..110db3de12 100644 --- a/documentation/tutorial-examples/solidity/tests/get_balance_test.go +++ b/documentation/tutorial-examples/solidity/tests/get_balance_test.go @@ -15,11 +15,11 @@ import ( "github.com/stretchr/testify/require" ) -//go:generate solc --abi --bin --overwrite ../contracts/GetBalance.sol -o ./build/ +//go:generate solc --abi --bin --overwrite ../contracts/GetBalance.sol -o . var ( - //go:embed build/GetBalance.abi + //go:embed GetBalance.abi GetBalanceContractABI string - //go:embed build/GetBalance.bin + //go:embed GetBalance.bin GetBalanceContractBytecodeHex string GetBalanceContractBytecode = common.FromHex(strings.TrimSpace(GetBalanceContractBytecodeHex)) )