You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Removed IPC provider dependency, IPC path is no longer viable provider. If you wanna use IPC, please install web3-providers-ipc and instantiate provider yourself (fix!: remove ipc from default used packages #5978)
Removed IPC provider dependency, IPC path is no longer viable provider. If you wanna use IPC, please install web3-providers-ipc and instantiate provider yourself (fix!: remove ipc from default used packages #5978)
Contract constructor will now thrown new ContractTransactionDataAndInputError if both data and input are passed in ContractInitOptions for Contract constructor (Use gas and input instead of gasLimit and data #5915)
The types FMT_NUMBER, NumberTypes, FMT_BYTES, ByteTypes, DataFormat, DEFAULT_RETURN_FORMAT, ETH_DATA_FORMAT and FormatType moved from web3-utils. (Specify SignTransaction's argument types #5993)
The types FMT_NUMBER, NumberTypes, FMT_BYTES, ByteTypes, DataFormat, DEFAULT_RETURN_FORMAT, ETH_DATA_FORMAT and FormatType moved to web3-types. (Specify SignTransaction's argument types #5993)
Removed IPC provider dependency, IPC path is no longer viable provider. If you wanna use IPC, please install web3-providers-ipc and instantiate provider yourself (fix!: remove ipc from default used packages #5978)
Removed IPC provider dependency, IPC path is no longer viable provider. If you wanna use IPC, please install web3-providers-ipc and instantiate provider yourself (fix!: remove ipc from default used packages #5978)
Contract constructor will now thrown new ContractTransactionDataAndInputError if both data and input are passed in ContractInitOptions for Contract constructor (Use gas and input instead of gasLimit and data #5915)
The types FMT_NUMBER, NumberTypes, FMT_BYTES, ByteTypes, DataFormat, DEFAULT_RETURN_FORMAT, ETH_DATA_FORMAT and FormatType moved from web3-utils. (Specify SignTransaction's argument types #5993)
The types FMT_NUMBER, NumberTypes, FMT_BYTES, ByteTypes, DataFormat, DEFAULT_RETURN_FORMAT, ETH_DATA_FORMAT and FormatType moved to web3-types. (Specify SignTransaction's argument types #5993)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Changed
web3
netandfsmodules (fix!: remove ipc from default used packages #5978)web3-providers-ipcand instantiate provider yourself (fix!: remove ipc from default used packages #5978)web3-core
dataproperty is passed totxInputOptionsFormatter, it will now be replaced withinput(Usegasandinputinstead ofgasLimitanddata#5915)TransactionTypeParserandTransactionBuilderare now utilizing the typeTransactionfor the transaction object. (Specify SignTransaction's argument types #5993)netandfsmodules (fix!: remove ipc from default used packages #5978)web3-providers-ipcand instantiate provider yourself (fix!: remove ipc from default used packages #5978)web3-errors
gasLimitis no longer accepted as a parameter forMissingGasErrorand `TransactionGasMismatchError, and is also no longer included in error message (Usegasandinputinstead ofgasLimitanddata#5915)web3-eth
signTransactionwill now returngasinstead ofgasLimitfor returned transaction object regardless of what property name the provider uses (Usegasandinputinstead ofgasLimitanddata#5915)formatTransactionwill now replacedatatransaction property withinput(Usegasandinputinstead ofgasLimitanddata#5915)isTransactionCallwill now check ifvalue.inputisHexStrictif provided (Usegasandinputinstead ofgasLimitanddata#5915)defaultTransactionBuilderandtransactionBuilderare now utilizing the typeTransactionfor the transaction object. (Specify SignTransaction's argument types #5993)web3-eth-accounts
signTransactionreturned byprivateKeyToAccountis now accepting the typeTransactionfor its argument. (Specify SignTransaction's argument types #5993)web3-eth-contract
getSendTxParamswill now returninputinstead ofdatain returned transaction parameters object (Usegasandinputinstead ofgasLimitanddata#5915)Contractconstructor will now thrown newContractTransactionDataAndInputErrorif bothdataandinputare passed inContractInitOptionsforContractconstructor (Usegasandinputinstead ofgasLimitanddata#5915)ContractInitOptions,NonPayableCallOptionsandPayableCallOptionsare moved toweb3-types. (Specify SignTransaction's argument types #5993)web3-types
dataproperty inTransactionOutputwas renamed toinput(Usegasandinputinstead ofgasLimitanddata#5915)signTransactioninsideWeb3BaseWalletAccountis now utilizing the typeTransactionfor its argument. (Specify SignTransaction's argument types #5993)FMT_NUMBER,NumberTypes,FMT_BYTES,ByteTypes,DataFormat,DEFAULT_RETURN_FORMAT,ETH_DATA_FORMATandFormatTypemoved fromweb3-utils. (Specify SignTransaction's argument types #5993)ContractInitOptions,NonPayableCallOptionsandPayableCallOptionsare moved fromweb3-eth-contract. (Specify SignTransaction's argument types #5993)web3-utils
FMT_NUMBER,NumberTypes,FMT_BYTES,ByteTypes,DataFormat,DEFAULT_RETURN_FORMAT,ETH_DATA_FORMATandFormatTypemoved toweb3-types. (Specify SignTransaction's argument types #5993)Added
web3
web3-core
web3-errors
web3-eth
web3-eth-abi
web3-eth-accounts
web3-eth-contract
inputis now an acceptable property forContractInitOptionsin place ofdata(either can be used, butinputis used withing theContractclass) (Usegasandinputinstead ofgasLimitanddata#5915)web3-eth-ens
web3-eth-iban
web3-eth-personal
web3-net
web3-providers-http
web3-providers-ipc
web3-providers-ws
web3-rpc-methods
web3-types
web3-utils
web3-validator
isHexString,isHexPrefixed,validateNoLeadingZeroes(Replace ethereumjs/tx dependency with a fork that has ethers.js removed #5963)Removed
web3-core
getConfigmethod fromWeb3Configclass,configis now public and accessible usingWeb3Config.config(Replaceprivate _configwithpublic configinweb3_config.ts#5950)web3-eth
web3-eth-abi
formatDecodedObjectfunction (Nikos/5931/coverage web3 abi #5934)web3-eth-contract
datawas removed as a property ofContractOptionstype (Usegasandinputinstead ofgasLimitanddata#5915)web3-utils
Fixed
web3-eth-ens
checkNetworkin ENS (checkNetwork fix #5988)This discussion was created from the release v4.0.1-rc.1.
Beta Was this translation helpful? Give feedback.
All reactions