Skip to content

Commit

Permalink
fixed TestChainId for devnet
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagodeev committed May 16, 2024
1 parent 8e3a253 commit f25b02e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions account/account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ func TestChainId(t *testing.T) {
"devnet": {
{
ChainID: "SN_SEPOLIA",
ExpectedID: "0x534e5f474f45524c49",
ExpectedID: "0x534e5f5345504f4c4941",
},
},
"mock": {},
Expand All @@ -355,7 +355,7 @@ func TestChainId(t *testing.T) {
}[testEnv]

for _, test := range testSet {
client, err := rpc.NewProvider(base + "/rpc")
client, err := rpc.NewProvider(base)
require.NoError(t, err, "Error in rpc.NewClient")

account, err := account.NewAccount(client, &felt.Zero, "pubkey", account.NewMemKeystore(), 0)
Expand Down

0 comments on commit f25b02e

Please sign in to comment.