Skip to content

Commit

Permalink
Update emulator
Browse files Browse the repository at this point in the history
  • Loading branch information
jribbink committed Mar 8, 2024
1 parent 4e7a2a8 commit 6361223
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
8 changes: 4 additions & 4 deletions flowkit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -353,22 +353,22 @@ func TestAccountsCreate_Integration(t *testing.T) {
}}

accOut := []accountsOut{{
address: "01cf0e2f2f715450",
address: "179b6b1cb6755e31",
balance: uint64(100000),
pubKeys: []crypto.PublicKey{
tests.PubKeys()[0],
},
weights: []int{flow.AccountKeyWeightThreshold},
}, {
address: "179b6b1cb6755e31",
address: "f3fcd2c1a78f5eee",
balance: uint64(100000),
pubKeys: []crypto.PublicKey{
tests.PubKeys()[0],
tests.PubKeys()[1],
},
weights: []int{500, 500},
}, {
address: "f3fcd2c1a78f5eee",
address: "e03daebed8ca0615",
balance: uint64(100000),
pubKeys: []crypto.PublicKey{
tests.PubKeys()[0],
Expand Down Expand Up @@ -1917,7 +1917,7 @@ func TestTransactions_Integration(t *testing.T) {
a,
[]byte(fmt.Sprintf("%x", tx.FlowTransaction().Encode())),
)
assert.EqualError(t, err, "not a valid signer 179b6b1cb6755e31, proposer: 01cf0e2f2f715450, payer: 01cf0e2f2f715450, authorizers: [01cf0e2f2f715450]")
assert.EqualError(t, err, "not a valid signer f3fcd2c1a78f5eee, proposer: 179b6b1cb6755e31, payer: 179b6b1cb6755e31, authorizers: [179b6b1cb6755e31]")
assert.Nil(t, txSigned)
})

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ require (
github.com/lmars/go-slip10 v0.0.0-20190606092855-400ba44fee12
github.com/onflow/cadence v1.0.0-M9
github.com/onflow/crypto v0.25.0
github.com/onflow/flow-emulator v1.0.0-M7
github.com/onflow/flow-emulator v1.0.0-M9
github.com/onflow/flow-go v0.34.0-crescendo-preview.5.0.20240306205059-e1f7a7962a39
github.com/onflow/flow-go-sdk v1.0.0-M8
github.com/pkg/errors v0.9.1
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1852,6 +1852,10 @@ github.com/onflow/flow-core-contracts/lib/go/templates v0.15.2-0.20240305214031-
github.com/onflow/flow-core-contracts/lib/go/templates v0.15.2-0.20240305214031-d81e0c3b42f3/go.mod h1:Ka6dexQbB/5R64cpfA9KZQ7V0pqqHNS5T3G3wftaQVw=
github.com/onflow/flow-emulator v1.0.0-M7 h1:8moFcl+KNAU1YOnEJim+x1pUGA5IRdfcBPgDbZkAels=
github.com/onflow/flow-emulator v1.0.0-M7/go.mod h1:S611ccJDDFLC99+VIAL8slsJx5Y9rxljFCY1aS67okU=
github.com/onflow/flow-emulator v1.0.0-M8.0.20240307180807-a925945f105a h1:PQEGEhNk8Ljd5MvbwkQZx2iBC07oGGt7g0WjVIR50HM=
github.com/onflow/flow-emulator v1.0.0-M8.0.20240307180807-a925945f105a/go.mod h1:v5EgKPYjt28xJSVX9aDtcF+4Y0JQoJea6xJXICHfSFQ=
github.com/onflow/flow-emulator v1.0.0-M9 h1:FGg3KhTIPa7ih2oCtKMyfNcU5+cWqyyy0TtSusciAQE=
github.com/onflow/flow-emulator v1.0.0-M9/go.mod h1:v5EgKPYjt28xJSVX9aDtcF+4Y0JQoJea6xJXICHfSFQ=
github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20240305212555-29d91e18f0c1 h1:1hTH+Y8EB8BZ0hXsrxZqSTDWoY0euFT/IzXxlgVQok4=
github.com/onflow/flow-ft/lib/go/contracts v0.7.1-0.20240305212555-29d91e18f0c1/go.mod h1:PwsL8fC81cjnUnTfmyL/HOIyHnyaw/JA474Wfj2tl6A=
github.com/onflow/flow-ft/lib/go/templates v0.7.1-0.20240305212555-29d91e18f0c1 h1:7BkqJ21EQAbYCZqLj2xCIqJvhrHNCXe9BfLTEiQqIx0=
Expand Down

0 comments on commit 6361223

Please sign in to comment.