v4.0.1-rc.2 #6157
jdevcs
announced in
Announcements
v4.0.1-rc.2
#6157
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Added
web3-errors
InvalidPropertiesForTransactionTypeError
with error code429
(defaultTransactionTypeParser
Refactor #6102)web3-eth-contract
getPastEvents
method to filterallEvents
and specific event (getPastEvents doesn't support filter #6010)maxPriorityFeePerGas
andmaxFeePerGas
inContractOptions
type and updated function using it in utils (Contract options fix #6118)web3-types
filters
param to theFilter
type (getPastEvents doesn't support filter #6010)JsonRpcSubscriptionResultOld
,Web3ProviderMessageEventCallback
. Added.on('data')
type support for old providers (Listening events on v4 is not working #6082)HardforksOrdered
enum (defaultTransactionTypeParser
Refactor #6102)Web3ValidationErrorObject
type (defaultTransactionTypeParser
Refactor #6102)web3-utils
hexstrict
parameter added to numberToHex (Replace Buffer with uint8array #6004)Fixed
web3-eth
ignoreGasPricing
bug with wallet in context (transaction integration tests #6071)web3-eth-accounts
Changed
web3-core
web3-errors
Eip838ExecutionError
constructor and the nested error is set atinnerError
(Parse nested error for Smartcontract errors #6045)web3-eth
formatTransaction
no longer throws aTransactionDataAndInputError
if it's passed a transaction object with bothdata
andinput
properties set (as long as they are the same value) (UpdateformatTransaction
to handle Nethermind edge case #6064)rpc_method_wrappers
to point to the previously duplicated documentation found under theWeb3Eth
class documentation (Refactorrpc_method_wrapper
docs to point toWeb3Eth
docs #6054)defaultTransactionTypeParser
to return correct EIP-2718 types, prior implementation was prioritizingtransaction.hardfork
and ignoring the use oftransaction.gasLimit
.defaultTransactionTypeParser
will now throwInvalidPropertiesForTransactionTypeError
s for properties are used that are incompatible withtransaction.type
(defaultTransactionTypeParser
Refactor #6102)prepareTransactionForSigning
anddefaultTransactionBuilder
now accepts optionalfillGasPrice
flag and by default will not fill gas(transaction integration tests #6071)web3-eth-abi
web3-eth-accounts
Buffer
forUint8Array
(Replace Buffer with uint8array #6004)recover
,encrypt
,privateKeyToAddress
does not support typeBuffer
but supports typeUint8Array
(Replace Buffer with uint8array #6004)parseAndValidatePrivateKey
returns a typeUint8Array
instead of typeBuffer
(Replace Buffer with uint8array #6004)web3-providers-ipc
web3-types
FMT_BYTES.BUFFER
,Bytes
andFormatType
and encryption option types forsalt
andiv
has replaced support forBuffer
forUint8Array
(Replace Buffer with uint8array #6004)internalType
property to theAbiParameter
type.web3-utils
hexToBytes
,randomBytes
does not return typeBuffer
but typeUint8Array
(Replace Buffer with uint8array #6004)sha3
andkeccak256Wrapper
does not accept typeBuffer
but typeUint8Array
(Replace Buffer with uint8array #6004)bytesToBuffer
has been removed for the usage ofbytesToUint8Array
(Replace Buffer with uint8array #6004)web3-validator
Removed
web3-eth-ens
web3-validator
Web3ValidationErrorObject
type is now exported fromweb3-types
package (defaultTransactionTypeParser
Refactor #6102)This discussion was created from the release v4.0.1-rc.2.
Beta Was this translation helpful? Give feedback.
All reactions