This repository was archived by the owner on Mar 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
+161
−112
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)
|
Incidental to this release... while running the Synthetix tests, believe I found another difference between old and new Ethers. Beginning with Web3 1.2.8, ABI decoded array return values are immutable. // Solidity
function getAddresses() returns (address[] addrs){
...
}
// JS
const immutableArray = await instance.methods.getAddresses().call(); Applying native
...because it tries to sort in place. A work-around is to copy the array: e.g. const sorted = [...immutableArray].sort()`. |
cgewecke
approved these changes
Jul 16, 2020
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.
Looks good!
GregTheGreek
approved these changes
Jul 16, 2020
Closed
Merged
Merged
Merged
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces
web3.js
version1.2.10
beginning with1.2.10-rc.0
.Please see the release notes for more.
Changelog
Added
request
method (Use provider.request() when available #3625)Changed
genesis
block in 1.x documentation (updating docs: genesis is not a valid block identifier any longer #3594)toBlock
when subscribing to contract events (Undesired behaviour and unexpected error whentoBlock
is passed tomyContract.events.<eventName>
ormyContract.events.allEvents
#3207)Fixed
_txInputFormatter
with hex prefix check (Extend_txInputFormatter
with hex prefix check #3317)fromBlock
value when re-subscribing to events over WS (format fromBlock param on resubscription #3596)Function
type log parameter decoding (getPastEvents() causes an error if an event has a function as argument #2826)Compare View
v1.2.9 -> v1.2.10
Type of change
Checklist:
npm run dtslint
with success and extended the tests and types if necessary.npm run test:unit
with success.npm run test:cov
and my test cases cover all the lines and branches of the added code.npm run build
and testeddist/web3.min.js
in a browser.CHANGELOG.md
file in the root folder.