Skip to content
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

Pre v0.6 dependency updates #215

Merged
merged 69 commits into from
Feb 9, 2021
Merged
Changes from 1 commit
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
9e6d826
Bump polkadot and substrate versions
notlesh Jan 28, 2021
15c6218
cumulus-parachain-upgrade renamed to cumulus-parachain-system
notlesh Jan 28, 2021
5a71e14
Update frontier branch v0.5-hotfixes -> v0.6-moonbeam
notlesh Jan 28, 2021
cc3d154
Resolve parity-util-mem dependency conflicts
notlesh Jan 29, 2021
3137dc0
Revert "cumulus-parachain-upgrade renamed to cumulus-parachain-system"
notlesh Jan 29, 2021
7355275
Don't specify frontier commit
notlesh Jan 29, 2021
b4bdc11
Cargo wants to play rough
notlesh Jan 29, 2021
369d144
Bump cumulus and polkadot versions
notlesh Jan 29, 2021
4da2991
Reintroduce upgrade -> system renaming
notlesh Jan 29, 2021
6dedfef
Bump parity-scale-codec and related intermediate dependencies
notlesh Feb 2, 2021
c11bcda
Remove deadbeef precompile
notlesh Feb 2, 2021
be336f7
Make it compile
notlesh Feb 2, 2021
bd686cb
Revert substrate 9659509 -> 93b231e
notlesh Feb 2, 2021
fabdbae
Reflect upstream changes in Cumulus
notlesh Feb 2, 2021
3418eca
Don't specify git rev in toml file
notlesh Feb 3, 2021
4a3bdee
Properly specify BlockGasLimit
notlesh Feb 3, 2021
197096f
Add EthFilterApi
notlesh Feb 3, 2021
d8406ed
Add filter pool maintenance task
notlesh Feb 3, 2021
2aef8bb
Add filter pool test
notlesh Feb 3, 2021
947b223
Specify MAXIMUM_BLOCK_WEIGHT
notlesh Feb 3, 2021
b478b38
Update Cargo.lock
notlesh Feb 3, 2021
cfebe9d
Refactor logger initialization
notlesh Feb 3, 2021
26bd092
Hard tabs > spaces
notlesh Feb 3, 2021
1a195df
Simplify gas_to_weight impl
notlesh Feb 3, 2021
87234bd
Spaces > hard tabs (for javascript)
notlesh Feb 3, 2021
01c3bf6
Update Cargo.lock
notlesh Feb 3, 2021
e959309
Import the whole test file from frontier...
notlesh Feb 3, 2021
3b3c942
Oops, actually add test
notlesh Feb 3, 2021
4781514
rustfmt
notlesh Feb 3, 2021
0bdc9be
Chop contract data into smaller chunks
notlesh Feb 3, 2021
0fb3222
100 chars max line length
notlesh Feb 4, 2021
70307f1
Apply prettier
notlesh Feb 4, 2021
5f31ee0
Update Cargo.lock files to make standalone build
notlesh Feb 5, 2021
683f5da
Add filter_pool and remove telemetry_on_connect from standalone
notlesh Feb 5, 2021
9c2b619
Undo earlier testing changes
notlesh Feb 8, 2021
94f824e
Chop lines at 100 chars
notlesh Feb 8, 2021
15a2d57
Missed one
notlesh Feb 8, 2021
0cc32f7
Point to notlesh fork of ethereum
notlesh Feb 8, 2021
53a2c40
Bump target gas to 12.5M per block
notlesh Feb 8, 2021
ad5e3b9
Modify test to reflect updated gas limit
notlesh Feb 8, 2021
e7f18ae
s/frontier/moonbeam/
notlesh Feb 8, 2021
a6aee61
s/context.web3/context.polkadotApi/
notlesh Feb 8, 2021
b0c29d4
Merge branch 'master' into notlesh-pre-v0.6-dependency-updates
notlesh Feb 8, 2021
d7d031e
Update Cargo.lock
notlesh Feb 8, 2021
7f1149b
Upstream changes for newly merged code
notlesh Feb 8, 2021
963a302
Add FilterPool to dev_service
notlesh Feb 8, 2021
2c0acfd
Revert map_err() change
notlesh Feb 8, 2021
4a29ee2
Fixes node command error returned
crystalin Feb 8, 2021
8d03909
Format command.rs
crystalin Feb 8, 2021
a440ab4
Reduce max ethereum txn gas and bump GAS_PER_SECOND to target 12.5M /…
notlesh Feb 8, 2021
8db531e
Update comment about gas limits
notlesh Feb 9, 2021
9e84d6f
s/Upgrade/System/
notlesh Feb 9, 2021
18e1b7e
Update gas constants in test-gas.ts
notlesh Feb 9, 2021
cf3ff5e
Update gas values in test based on observed values
notlesh Feb 9, 2021
b031fc1
Update gasLimit in tests; comment about gas calculation
notlesh Feb 9, 2021
9aba1a0
Add EthFilterApi maintenance task to dev-service
tgmichel Feb 9, 2021
59d7856
Pass graph to EthApi
notlesh Feb 9, 2021
da3670b
rustfmt
notlesh Feb 9, 2021
099f129
kill processes on exit and sigint
joelamouche Feb 9, 2021
c0478eb
retyped events and updated api
joelamouche Feb 9, 2021
7d8c897
Merge branch 'master' into notlesh-pre-v0.6-dependency-updates
notlesh Feb 9, 2021
bc073c1
Merge remote-tracking branch 'upstream/antoine-kill-processes-test' i…
notlesh Feb 9, 2021
204c7a2
Reflect changes to event ordering in test-balance.ts
notlesh Feb 9, 2021
50e5df5
s/upgrade/system/ AGAIN
notlesh Feb 9, 2021
a3a8ede
Fix compiler warnings
notlesh Feb 9, 2021
c774d23
log--
notlesh Feb 9, 2021
7b68956
Bump GAS_PER_SECOND to 40M
notlesh Feb 9, 2021
3dd9923
Chop long line
notlesh Feb 9, 2021
3e32199
Update gasLimit expectations in tests
notlesh Feb 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions tests/tests/test-balance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,16 @@ describeWithMoonbeam("Moonbeam RPC (Balance)", `simple-specs.json`, (context) =>
events.length === 1 && context.polkadotApi.events.system.ExtrinsicSuccess.is(events[0])
).to.be.true;
break;
// Fourth event: ethereum.transact:: system.NewAccount, balances.Endowed, ethereum.Executed,
// Fourth event: ethereum.transact:: system.NewAccount, balances.Endowed, (?), ethereum.Executed,
// system.ExtrinsicSuccess
case 3:
expect(section === "ethereum" && method === "transact").to.be.true;
expect(events.length === 4);
expect(context.polkadotApi.events.system.NewAccount.is(events[0])).to.be.true;
expect(context.polkadotApi.events.balances.Endowed.is(events[1])).to.be.true;
expect(context.polkadotApi.events.ethereum.Executed.is(events[2])).to.be.true;
expect(context.polkadotApi.events.system.ExtrinsicSuccess.is(events[3])).to.be.true;
// TODO: what event was inserted here?
expect(context.polkadotApi.events.ethereum.Executed.is(events[3])).to.be.true;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joelamouche Is this obvious to you, or do you have some documentation handy that you could share?

expect(context.polkadotApi.events.system.ExtrinsicSuccess.is(events[4])).to.be.true;
break;
default:
throw new Error(`Unexpected extrinsic`);
Expand Down