Skip to content

Commit

Permalink
test: use RAW_PRIVATE_KEY env variable for sender private key
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan-Ethernal committed Sep 13, 2024
1 parent 13c3912 commit 5ec0fc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/basic-e2e.bats
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ setup() {
}

@test "Send EOA transaction" {
local private_key="12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625"
local private_key=${RAW_PRIVATE_KEY:-"12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625"}
local receiver="0x85dA99c8a7C2C95964c8EfD687E95E632Fc533D6"
local value="10ether"

Expand All @@ -19,7 +19,7 @@ setup() {
}

@test "Deploy ERC20Mock contract" {
local private_key="12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625"
local private_key=${RAW_PRIVATE_KEY:-"12d7de8621a77640c9241b2595ba78ce443d05e94090365ab3bb5e19df82c625"}
local contract_artifact="./contracts/erc20mock/ERC20Mock.json"

# Deploy ERC20Mock
Expand Down

0 comments on commit 5ec0fc2

Please sign in to comment.