Skip to content

Commit

Permalink
Fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
zjg555543 committed Apr 10, 2024
1 parent 4dd5a66 commit e441a89
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/e2e/sc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,12 @@ func TestCounterAndBlock(t *testing.T) {
for _, network := range networks {
log.Debugf(network.Name)
client := operations.MustGetClient(network.URL)
auth := operations.MustGetAuth(network.PrivateKey, network.ChainID)
priKey := network.PrivateKey
if network.Name == "Local L2" {
priKey = "0xde3ca643a52f5543e84ba984c4419ff40dbabd0e483c31c1d09fee8168d68e38"
}
auth := operations.MustGetAuth(priKey, network.ChainID)
log.Infof("auth:%v, chainID:%v", auth.From.String(), network.ChainID)

_, scTx, sc, err := CounterAndBlock.DeployCounterAndBlock(auth, client)
require.NoError(t, err)
Expand Down

0 comments on commit e441a89

Please sign in to comment.