-
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.2.10 #3633
Release - 1.2.10 #3633
Conversation
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()`. |
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!
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.