-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Release 1.3.4-rc.2 #3885
Release 1.3.4-rc.2 #3885
Conversation
Pull Request Test Coverage Report for Build 534261530
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM will start the npm release
Build didn't work
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
RC LGTM
Ran using Replicating the steps mentioned in previous releases As part of the RC process, am doing some test installations in other projects and running their tests to see if everything.
(This list will be actively edited)
Synthetic tests failed with same Contract: Exchange Rates
when integrating with modern contracts
✓ only expected functions should be mutative
constructor
✓ should set constructor params on deployment (107ms)
✓ two different currencies in same array should mean that the second one overrides (125ms)
✓ should revert when number of currency keys > new rates length on create (97ms)
✓ should limit to 32 bytes if currency key > 32 bytes on create (115ms)
✓ shouldn't be able to set exchange rate to 0 on create (98ms)
<--- Last few GCs --->
[26170:0x4426ef0] 697444 ms: Scavenge 1346.2 (1395.4) -> 1345.2 (1395.4) MB, 2.9 / 0.0 ms (average mu = 0.187, current mu = 0.130) allocation failure
[26170:0x4426ef0] 697455 ms: Scavenge 1352.7 (1402.0) -> 1351.7 (1402.0) MB, 3.5 / 0.0 ms (average mu = 0.187, current mu = 0.130) allocation failure
[26170:0x4426ef0] 697464 ms: Scavenge 1358.3 (1407.7) -> 1357.4 (1407.7) MB, 3.4 / 0.0 ms (average mu = 0.187, current mu = 0.130) allocation failure
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x3bd63389e6e9 <JSObject>
0: builtin exit frame: concat(this=0x234376382799 <JSArray[82432]>,0x234376382df1 <JSArray[32]>,0x234376382799 <JSArray[82432]>)
1: MSTORE(aka MSTORE) [0x171942ab16f9] [/home/anon/tmp/synthetix/node_modules/@nomiclabs/ethereumjs-vm/dist/evm/opFns.js:~445] [pc=0x3a2909f701a8](this=0x330780d022b1 <null>,runState=0x2450cad13189 <Object map = 0xabd67fee731>)
2: runStep [0x171942a9bcd9] ...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x8fa090 node::Abort() [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
2: 0x8fa0dc [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
3: 0xb0052e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
4: 0xb00764 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
5: 0xef4c72 [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
6: 0xef4d78 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
7: 0xf00e52 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
8: 0xf01784 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
9: 0xf043f1 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
10: 0xecd4e6 v8::internal::Factory::AllocateRawArray(int, v8::internal::PretenureFlag) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
11: 0xecdd6a v8::internal::Factory::NewFixedArrayWithFiller(v8::internal::Heap::RootListIndex, int, v8::internal::Object*, v8::internal::PretenureFlag) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
12: 0xeda751 v8::internal::Factory::NewJSArrayStorage(v8::internal::Handle<v8::internal::JSArray>, int, int, v8::internal::ArrayStorageAllocationMode) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
13: 0xedaa4c v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::PretenureFlag) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
14: 0xe93e81 v8::internal::ElementsAccessor::Concat(v8::internal::Isolate*, v8::internal::Arguments*, unsigned int, unsigned int) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
15: 0xb8fcc9 [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
16: 0xb993c8 v8::internal::Builtin_ArrayConcat(int, v8::internal::Object**, v8::internal::Isolate*) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
17: 0x3a290535bf7d
Aborted (core dumped)
error Command failed with exit code 134.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
Ran using Replicating the steps mentioned in previous releases As part of the RC process, am doing some test installations in other projects and running their tests to see if everything.
(This list will be actively edited)
Synthetic tests failed with same Contract: Exchange Rates
when integrating with modern contracts
✓ only expected functions should be mutative
constructor
✓ should set constructor params on deployment (419ms)
✓ two different currencies in same array should mean that the second one overrides (159ms)
✓ should revert when number of currency keys > new rates length on create (109ms)
✓ should limit to 32 bytes if currency key > 32 bytes on create (123ms)
✓ shouldn't be able to set exchange rate to 0 on create (109ms)
<--- Last few GCs --->
[10670:0x34cdef0] 698038 ms: Scavenge 1345.9 (1397.1) -> 1344.9 (1397.1) MB, 2.4 / 0.0 ms (average mu = 0.176, current mu = 0.130) allocation failure
[10670:0x34cdef0] 698047 ms: Scavenge 1352.2 (1403.5) -> 1351.2 (1403.5) MB, 2.7 / 0.0 ms (average mu = 0.176, current mu = 0.130) allocation failure
[10670:0x34cdef0] 698055 ms: Scavenge 1357.9 (1409.3) -> 1356.9 (1409.3) MB, 2.4 / 0.0 ms (average mu = 0.176, current mu = 0.130) allocation failure
<--- JS stacktrace --->
==== JS stack trace =========================================
Security context: 0x090565e1e6e9 <JSObject>
0: builtin exit frame: concat(this=0x0fd892782271 <JSArray[83168]>,0x0fd892782929 <JSArray[32]>,0x0fd892782271 <JSArray[83168]>)
1: MSTORE(aka MSTORE) [0xccc7979ac69] [/home/anon/tmp/synthetix/node_modules/@nomiclabs/ethereumjs-vm/dist/evm/opFns.js:~445] [pc=0x2d6205dc9da8](this=0x0904365822b1 <null>,runState=0x2c130d4d8331 <Object map = 0x16881acb98e1>)
2: runStep [0xccc79786601] [...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0x8fa090 node::Abort() [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
2: 0x8fa0dc [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
3: 0xb0052e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
4: 0xb00764 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
5: 0xef4c72 [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
6: 0xef4d78 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
7: 0xf00e52 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
8: 0xf01784 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
9: 0xf043f1 v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
10: 0xecd4e6 v8::internal::Factory::AllocateRawArray(int, v8::internal::PretenureFlag) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
11: 0xecdd6a v8::internal::Factory::NewFixedArrayWithFiller(v8::internal::Heap::RootListIndex, int, v8::internal::Object*, v8::internal::PretenureFlag) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
12: 0xeda751 v8::internal::Factory::NewJSArrayStorage(v8::internal::Handle<v8::internal::JSArray>, int, int, v8::internal::ArrayStorageAllocationMode) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
13: 0xedaa4c v8::internal::Factory::NewJSArray(v8::internal::ElementsKind, int, int, v8::internal::ArrayStorageAllocationMode, v8::internal::PretenureFlag) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
14: 0xe93e81 v8::internal::ElementsAccessor::Concat(v8::internal::Isolate*, v8::internal::Arguments*, unsigned int, unsigned int) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
15: 0xb8fcc9 [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
16: 0xb993c8 v8::internal::Builtin_ArrayConcat(int, v8::internal::Object**, v8::internal::Isolate*) [/home/anon/.nvm/versions/node/v10.19.0/bin/node]
17: 0x2d62011dbf7d
Aborted (core dumped)
error Command failed with exit code 134.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
This release contains bug fixes, updates dependencies (including 4 security vulnerabilities), adds deprecation notice for
web3-bzz
, and updates the Typescript types forweb3-eth2-core
andweb3-eth2-beaconchain
Changed
fromBlock
option forlogs
subscriptions (defaults tolatest
) (Wyatt/3882 log subscription #3883)web3-eth2-base
toweb3-eth2-core
andweb3-eth2-beacon
toweb3-eth2-beaconchain
(Rename eth2 packages #3833)ts-node
from version^8.10.2
to^9.0.0
(Update ts-node to ^9.0.0 and ran npm audit fix #3856)npm audit fix
which fixed 4 vulnerabilities (Update ts-node to ^9.0.0 and ran npm audit fix #3856)web3-eth2-beaconchain
type declarations (Correct web3-eth2-beaconchain typings #3859) and (Correct web3-eth2- packages types #3865)IBaseAPISchema
andIBaseAPIMethodSchema
toindex.d.ts
forweb3-eth2-core
(ETH2 packages types fix #3878)web3-eth2-core
(ETH2 packages types fix #3878)Removed
notImplemented
flag from ETH2 Beacon Chain package methods schema (Release/1.3.2 #3861)IETH2BeaconChain
interface in favor of exporting a class type:ETH2BeaconChain
(ETH2 packages types fix #3878)index.d.ts
files in favor oftypes.ts
forweb3-eth2-core
andweb3-eth2-beaconchain
(ETH2 packages types fix #3878)schema.ts
fromweb3-eth2-core
(ETH2 packages types fix #3878)dtslint
npm command fromweb3-eth2-core
andweb3-eth2-beaconchain
asindex.d.ts
files were removed (ETH2 packages types fix #3878)Added
ETH2Core
class export toindex.d.ts
forweb3-eth2-core
(ETH2 packages types fix #3878)