Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add 'receive' to FragmentTypes #6204

Merged
merged 3 commits into from
Jun 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1603,3 +1603,7 @@ If there are any bugs, improvements, optimizations or any new feature proposal f
#### web3-eth-contract

- Event filtering using non-indexed and indexed string event arguments (#6167)

#### web3-eth-types

- Receive fragment type added (#6204)
2 changes: 1 addition & 1 deletion packages/web3-types/src/eth_abi_types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export type AbiParameter = {
readonly internalType?: string;
};

type FragmentTypes = 'constructor' | 'event' | 'function' | 'fallback';
type FragmentTypes = 'constructor' | 'event' | 'function' | 'fallback' | 'receive';

export type AbiBaseFragment = {
// type will default to string if passed ABI is declared without "as const"
Expand Down
Loading