Skip to content

Commit

Permalink
fix contracts build dir
Browse files Browse the repository at this point in the history
Signed-off-by: salaheldinsoliman <[email protected]>
  • Loading branch information
salaheldinsoliman committed Jun 24, 2024
1 parent 4d6dbba commit 43460ca
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Check failure on line 20 in documentation/tutorial-examples/solidity/tests/get_balance_test.go

View workflow job for this annotation

GitHub Actions / Lint

pattern GetBalance.abi: no matching files found (typecheck)

Check failure on line 20 in documentation/tutorial-examples/solidity/tests/get_balance_test.go

View workflow job for this annotation

GitHub Actions / Test

pattern GetBalance.abi: no matching files found
GetBalanceContractABI string
//go:embed build/GetBalance.bin
//go:embed GetBalance.bin
GetBalanceContractBytecodeHex string
GetBalanceContractBytecode = common.FromHex(strings.TrimSpace(GetBalanceContractBytecodeHex))
)
Expand Down

0 comments on commit 43460ca

Please sign in to comment.