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
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
-
Changed
web3
net
andfs
modules (fix!: remove ipc from default used packages #5978)web3-providers-ipc
and instantiate provider yourself (fix!: remove ipc from default used packages #5978)web3-core
data
property is passed totxInputOptionsFormatter
, it will now be replaced withinput
(Usegas
andinput
instead ofgasLimit
anddata
#5915)TransactionTypeParser
andTransactionBuilder
are now utilizing the typeTransaction
for the transaction object. (Specify SignTransaction's argument types #5993)net
andfs
modules (fix!: remove ipc from default used packages #5978)web3-providers-ipc
and instantiate provider yourself (fix!: remove ipc from default used packages #5978)web3-errors
gasLimit
is no longer accepted as a parameter forMissingGasError
and `TransactionGasMismatchError, and is also no longer included in error message (Usegas
andinput
instead ofgasLimit
anddata
#5915)web3-eth
signTransaction
will now returngas
instead ofgasLimit
for returned transaction object regardless of what property name the provider uses (Usegas
andinput
instead ofgasLimit
anddata
#5915)formatTransaction
will now replacedata
transaction property withinput
(Usegas
andinput
instead ofgasLimit
anddata
#5915)isTransactionCall
will now check ifvalue.input
isHexStrict
if provided (Usegas
andinput
instead ofgasLimit
anddata
#5915)defaultTransactionBuilder
andtransactionBuilder
are now utilizing the typeTransaction
for the transaction object. (Specify SignTransaction's argument types #5993)web3-eth-accounts
signTransaction
returned byprivateKeyToAccount
is now accepting the typeTransaction
for its argument. (Specify SignTransaction's argument types #5993)web3-eth-contract
getSendTxParams
will now returninput
instead ofdata
in returned transaction parameters object (Usegas
andinput
instead ofgasLimit
anddata
#5915)Contract
constructor will now thrown newContractTransactionDataAndInputError
if bothdata
andinput
are passed inContractInitOptions
forContract
constructor (Usegas
andinput
instead ofgasLimit
anddata
#5915)ContractInitOptions
,NonPayableCallOptions
andPayableCallOptions
are moved toweb3-types
. (Specify SignTransaction's argument types #5993)web3-types
data
property inTransactionOutput
was renamed toinput
(Usegas
andinput
instead ofgasLimit
anddata
#5915)signTransaction
insideWeb3BaseWalletAccount
is now utilizing the typeTransaction
for its argument. (Specify SignTransaction's argument types #5993)FMT_NUMBER
,NumberTypes
,FMT_BYTES
,ByteTypes
,DataFormat
,DEFAULT_RETURN_FORMAT
,ETH_DATA_FORMAT
andFormatType
moved fromweb3-utils
. (Specify SignTransaction's argument types #5993)ContractInitOptions
,NonPayableCallOptions
andPayableCallOptions
are moved fromweb3-eth-contract
. (Specify SignTransaction's argument types #5993)web3-utils
FMT_NUMBER
,NumberTypes
,FMT_BYTES
,ByteTypes
,DataFormat
,DEFAULT_RETURN_FORMAT
,ETH_DATA_FORMAT
andFormatType
moved 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
input
is now an acceptable property forContractInitOptions
in place ofdata
(either can be used, butinput
is used withing theContract
class) (Usegas
andinput
instead ofgasLimit
anddata
#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
getConfig
method fromWeb3Config
class,config
is now public and accessible usingWeb3Config.config
(Replaceprivate _config
withpublic config
inweb3_config.ts
#5950)web3-eth
web3-eth-abi
formatDecodedObject
function (Nikos/5931/coverage web3 abi #5934)web3-eth-contract
data
was removed as a property ofContractOptions
type (Usegas
andinput
instead ofgasLimit
anddata
#5915)web3-utils
Fixed
web3-eth-ens
checkNetwork
in 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