fRPC-Substrate
fRPC-Substrate copied to clipboard
fix(deps): update dependency web3 to v4.13.0
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| web3 | 4.3.0 -> 4.13.0 |
Release Notes
ChainSafe/web3.js (web3)
v4.13.0
Added
web3-core
- Adds a new property (
customTransactionSchema) toWeb3ConfigOptions(#7227)
web3-eth
- Adds the same
{transactionSchema?: ValidationSchemaInput}that exists informatTransactiontovalidateTransactionForSigning
web3-types
- Add COMMITTED to BlockTags (#7124)
Changed
web3-eth
- Forwards the new
web3Context.config.customTransactionSchematoformatTransaction
web3-eth-personal
- Forwards the new
web3Context.config.customTransactionSchematoformatTransaction
web3
Web3.providersnamespace exportstype EIP6963ProviderResponse = Map<string, EIP6963ProviderDetail>. Return type for the staticWeb3.requestEIP6963Providersis nowPromise<EIP6963ProviderResponse>. (#7239)- The callback function provided to the static
Web3.onNewProviderDiscoveredfunction expects a parameter of typeEIP6963ProvidersMapUpdateEventas opposed toEIP6963AnnounceProviderEvent. (#7242)
v4.12.1
Fixed
web3-eth-accounts
- Revert
TransactionFactory.registerTransactionTypeif there is a version mistatch betweenweb3-ethandweb3-eth-accountsand fix nextjs problem. (#7216)
v4.12.0
Fixed
web3-core
setConfig()fix forsetMaxListenerWarningThresholdfix (#5079)
web3-eth-accounts
- Fix
TransactionFactory.registerTransactionTypenot working, if there is a version mistatch betweenweb3-ethandweb3-eth-accountsby savingextraTxTypesatglobals. (#7197)
Added
web3-eth-accounts
- Added public function
signMessageWithPrivateKey(#7174)
web3-eth-contract
- Added
populateTransactionto thecontract.deploy(...)properties. (#7197)
web3-providers-http
- Added
statusCodeof response in ResponseError,statusCodeis optional property in ResponseError.
web3-rpc-providers
- Updated rate limit error of QuickNode provider for HTTP transport
- Added optional
HttpProviderOptions | SocketOptionsinWeb3ExternalProviderandQuickNodeProviderfor provider configs
web3-errors
- Added optional
statusCodeproperty of response in ResponseError.
Changed
web3-eth-contract
- The returnred properties of
contract.deploy(...)are structured with a newly created class namedDeployerMethodClass. (#7197) - Add a missed accepted type for the
abiparameter, atdataInputEncodeMethodHelperandgetSendTxParams. (#7197)
v4.11.1
Fixed
web3-errors
- Fixed the undefined data in
Eip838ExecutionErrorconstructor (#6905)
web3-eth
- Adds transaction property to be an empty list rather than undefined when no transactions are included in the block (#7151)
- Change method
getTransactionReceiptto not be casted asTransactionReceiptto give proper return type (#7159)
web3
- Remove redundant constructor of contractBuilder (#7150)
v4.11.0
Fixed
web3-eth-abi
- fix encodedata in EIP-712 (#7095)
web3-utils
_sendPendingRequestswill catch unhandled errors from_sendToSocket(#6968)
web3-eth
- Fixed geth issue when running a new instance, transactions will index when there are no blocks created (#7098)
Changed
web3-eth-accounts
- baseTransaction method updated (#7095)
web3-providers-ws
- Update dependancies (#7109)
web3-plugin-example
- Dependencies updated
web3-rpc-providers
- Change request return type
Promise<ResultType>toPromise<JsonRpcResponseWithResult<ResultType>>(#7102)
Added
web3-eth-contract
populateTransactionwas added to contract methods (#7124)- Contract has
setTransactionMiddlewareandgetTransactionMiddlewarefor automatically passing tosentTransactionfordeployandsendfunctions (#7138)
web3-rpc-providers
- When error is returned with code 429, throw rate limit error (#7102)
web3
web3.eth.Contractwill get transaction middleware and use it, ifweb3.ethhas transaction middleware. (#7138)
v4.10.0
Added
web3
- Now when existing packages are added in web3, will be avalible for plugins via context. (#7088)
web3-core
- Now when existing packages are added in web3, will be avalible for plugins via context. (#7088)
web3-eth
sendTransactioninrpc_method_wrappersaccepts optional param ofTransactionMiddleware(#7088)- WebEth has
setTransactionMiddlewareandgetTransactionMiddlewarefor automatically passing tosentTransaction(#7088)
web3-eth-ens
getTextnow supports first param AddressgetNamehas optional second param checkInterfaceSupport
web3-types
- Added
resultas optionalneveranderroras optionalnever in typeJsonRpcNotification` (#7091) - Added
JsonRpcNotficationas a union type inJsonRpcResponse(#7091)
web3-rpc-providers
- RC release
Fixed
web3-eth-ens
getNamereverse resolution
v4.9.0
Added
web3
- Updated type
Web3EthInterface.accountsto includesprivateKeyToAccount,privateKeyToAddress,andprivateKeyToPublicKey(#6762)
web3-core
defaultReturnFormatwas added to the configuration options. (#6947)
web3-errors
- Added
InvalidIntegerErrorerror for fromWei and toWei (#7052)
web3-eth
defaultReturnFormatwas added to all methods that haveReturnTypeparam. (#6947)getTransactionFromOrToAttr,waitForTransactionReceipt,trySendTransaction,SendTxHelperwas exported (#7000)
web3-eth-contract
defaultReturnFormatwas added to all methods that haveReturnTypeparam. (#6947)
web3-eth-ens
defaultReturnFormatwas added to all methods that haveReturnTypeparam. (#6947)
web3-net
defaultReturnFormatwas added to all methods that haveReturnTypeparam. (#6947)
web3-types
- Added
signatureto typeAbiFunctionFragment(#6922) - update type
Withdrawals,blockandBlockHeaderOutputto include properties of eip 4844, 4895, 4788 (#6933)
web3-utils
toWeiadd warning when using large numbers or large decimals that may cause precision loss (#6908)toWeiandfromWeinow supports integers as a unit. (#7053)
Fixed
web3-eth
- Fixed issue with simple transactions, Within
checkRevertBeforeSendingif there is no data set in transaction, set gas to be21000(#7043)
web3-utils
toWeisupport numbers in scientific notation (#6908)toWeiandfromWeitrims according to ether unit successfuly (#7044)
web3-validator
- The JSON schema conversion process now correctly assigns an id when the
abi.nameis not available, for example, in the case of public mappings. (#6981) browserentry point that was pointing to an non-existing bundle file was removed frompackage.json(#7015)
web3-core
- Set a try catch block if processesingError fails (#7022)
Changed
web3-core
- Interface
RequestManagerMiddlewarewas changed (#7003)
web3-eth
- Added parameter
customTransactionReceiptSchemainto methodsemitConfirmation,waitForTransactionReceipt,watchTransactionByPolling,watchTransactionBySubscription,watchTransactionForConfirmations(#7000) - Changed functionality: For networks that returns
baseFeePerGas===0x0fillmaxPriorityFeePerGasandmaxFeePerGasbygetGasPricemethod (#7050)
web3-eth-abi
- Dependencies updated
web3-rpc-methods
- Change
estimateGasmethod to add possibility pass Transaction type (#7000)
v4.8.0
Changed
web3-eth-abi
- Dependencies updated
web3-eth-accounts
- Dependencies updated
Fixed
web3-eth-contract
- Fix an issue with smart contract function overloading (#6922)
web3-utils
- fixed toHex incorrectly hexing Uint8Arrays and Buffer (#6957)
- fixed isUint8Array not returning true for Buffer (#6957)
Added
web3-eth-contract
- Added a console warning in case of an ambiguous call to a solidity method with parameter overloading (#6942)
- Added contract.deploy(...).decodeData(...) and contract.decodeMethodData(...) that decode data based on the ABI (#6950)
web3-eth
- method
getBlocknow includes properties of eip 4844, 4895, 4788 when returning block (#6933) - update type
withdrawalsSchema,blockSchemaandblockHeaderSchemaschemas to include properties of eip 4844, 4895, 4788 (#6933)
web3-types
- Added
signatureto typeAbiFunctionFragment(#6922) - update type
Withdrawals,blockandBlockHeaderOutputto include properties of eip 4844, 4895, 4788 (#6933)
v4.7.0
added
web3-eth-contract
- Types
ContractDeploySend,ContractMethodSend,Web3PromiEventwas exported (#6883)
web3-eth-ens
- Added function getText and getName in ENS and resolver classes (#6914)
fixed
web3-validator
- Multi-dimensional arrays(with a fix length) are now handled properly when parsing ABIs (#6798)
web3-utils
- fixed erroneous parsing of big numbers in the
toNumber(...)function (#6880)
v4.6.0
Added
web3
- Added EIP-6963 utility function
requestEIP6963Providersfor multi provider discovery
web3-eth
- Added
eth.getMaxPriorityFeePerGasmethod (#6748)
web3-eth-ens
- Added function
setAddressin ENS and Resolver classes (#5956)
web3-rpc-methods
- Added
getMaxPriorityFeePerGasmethod (#6748)
web3-types
- Type
FeeDatato be filled byawait web3.eth.calculateFeeData()to be used with EIP-1559 transactions (#6795)
Fixed
web3-utils
- replaced our eventEmitter to EventEmitter3 to support react native builds (#6253)
v4.5.0
Added
web3-utils
- Adds missing exported type
AbiItemfrom 1.x to v4 for compatabiltiy (#6678)
web3-types
- Adds missing exported type
AbiItemfrom 1.x to v4 for compatabiltiy (#6678)
Changed
web3
- Dependencies updated
v4.4.0
Added
web3-eth
- Catch
TransactionPollingTimeoutErrorwas added to send transaction events (#6623)
Changed
web3-eth-abi
- Use
AbiErrorinstead ofErrorfor errors at web3-eth-abi (#6641).
web3-eth-contract
- Allow the
deployfunction to accept parameters, even when no ABI was provided to theContract(#6635)
web3
- Dependencies updated
Fixed
web3-eth-abi
- Fixed an issue with detecting Uint8Array (#6486)
web3-eth-accounts
- Send Transaction config used to be ignored if the passed
commondid not have acopy()and thechainIdwas not provided (#6663) - Fixed an issue with detecting Uint8Array (#6486)
web3-eth-contract
- Fix and error that happen when trying to get past events by calling
contract.getPastEventsorcontract.events.allEvents(), if there is no matching events. (#6647) - Fixed: The Contract is not using the context wallet passed if context was passed at constructor. (#6661)
web3-utils
- Fixed an issue with detecting Uint8Array (#6486)
web3-validator
- Fixed an issue with detecting Uint8Array (#6486)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.