Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit e43939f

Browse files
update changelog files and a type
1 parent 60f0e2e commit e43939f

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

packages/web3-eth-contract/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -369,3 +369,7 @@ Documentation:
369369
### Added
370370

371371
- Types `ContractDeploySend`, `ContractMethodSend` was added (#6883)
372+
373+
### Fixed
374+
375+
- Fix an issue with smart contract function overloading (#6922)

packages/web3-types/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,4 +189,8 @@ Documentation:
189189

190190
- Type `FeeData` to be filled by `await web3.eth.calculateFeeData()` to be used with EIP-1559 transactions (#6795)
191191

192-
## [Unreleased]
192+
## [Unreleased]
193+
194+
### Added
195+
196+
- Added `signature` to type `AbiFunctionFragment` (#6922)

packages/web3-types/src/eth_abi_types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ export type AbiFunctionFragment = AbiBaseFragment & {
111111
readonly constant?: boolean; // stateMutability == 'pure' or stateMutability == 'view'
112112
readonly payable?: boolean; // stateMutability == 'payable'
113113

114-
readonly signature: string;
114+
readonly signature?: string;
115115
};
116116

117117
export type AbiFallbackFragment = AbiBaseFragment & {

0 commit comments

Comments
 (0)