-
Notifications
You must be signed in to change notification settings - Fork 146
fix(ci): embed v0.9.20 runtime, update test suite, and ci workflows #2543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
831e93f
0b2d14a
b1f738d
d73826b
325243e
ddb2f33
d49ab35
d6e1735
4bcac72
8748a19
e81751f
7d9c16f
80ae03a
38e052d
f47a4b4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -10,7 +10,6 @@ import ( | |
| "fmt" | ||
| "math/big" | ||
| "os" | ||
| "path/filepath" | ||
| "testing" | ||
| "time" | ||
|
|
||
|
|
@@ -52,7 +51,7 @@ func balanceKey(t *testing.T, pub []byte) (bKey []byte) { | |
|
|
||
| func generateTestValidRemarkTxns(t *testing.T, pubKey []byte, accInfo types.AccountInfo) ([]byte, runtime.Instance) { | ||
| t.Helper() | ||
| projectRootPath := filepath.Join(utils.GetProjectRootPathTest(t), "chain/gssmr/genesis.json") | ||
| projectRootPath := utils.GetGssmrV3SubstrateGenesisRawPathTest(t) | ||
qdm12 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| gen, err := genesis.NewGenesisFromJSONRaw(projectRootPath) | ||
| require.NoError(t, err) | ||
|
|
||
|
|
@@ -409,6 +408,8 @@ func TestHandleChainReorg_WithReorg_Transactions(t *testing.T) { | |
| require.Equal(t, transaction.NewValidTransaction(tx, validity), pending[0]) | ||
| } | ||
|
|
||
| // TODO: add test against latest gssmr runtime | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Both these todos I am addressing
timwu20 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| // See https://github.com/ChainSafe/gossamer/issues/2702 | ||
| func TestMaintainTransactionPool_EmptyBlock(t *testing.T) { | ||
| accountInfo := types.AccountInfo{ | ||
| Nonce: 0, | ||
|
|
@@ -465,6 +466,8 @@ func TestMaintainTransactionPool_EmptyBlock(t *testing.T) { | |
| require.Nil(t, head) | ||
| } | ||
|
|
||
| // TODO: add test against latest gssmr runtime | ||
timwu20 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| // See https://github.com/ChainSafe/gossamer/issues/2702 | ||
| func TestMaintainTransactionPool_BlockWithExtrinsics(t *testing.T) { | ||
| accountInfo := types.AccountInfo{ | ||
| Nonce: 0, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.