Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
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
6 changes: 4 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,6 +561,7 @@ Released with 1.0.0-beta.37 code base.
### Security
- `npm audit fix` to address vulnerabilities and update libraries (#5014)


## [Unreleased]

## [1.7.5]
Expand All @@ -569,7 +570,8 @@ Released with 1.0.0-beta.37 code base.
- Replace xhr2-cookies deps to cross-fetch for web3-providers-http (#5085)

### Added
- Documentation details about `maxFeePerGas` and `maxPriorityFeePerGas` (#5121)
- Documentation details about `maxFeePerGas` and `maxPriorityFeePerGas` (#5121)
- Added `createAccessList` types in web3.eth (#5146)

### Fixed
- Fix typos in web3-eth-accounts.rst & TESTING.md (#5047)
Expand All @@ -580,5 +582,5 @@ Released with 1.0.0-beta.37 code base.


### Security
- Updated `got` lib version and fixed other libs using npm audit fix
- Updated `got` lib version and fixed other libs using npm audit fix

22 changes: 22 additions & 0 deletions packages/web3-eth/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,17 @@ export class Eth {
callback?: (error: Error, gas: number) => void
): Promise<number>;

createAccessList(
transactionConfig: TransactionConfig,
callback?: (error: Error, result: CreateAccessList) => void
): Promise<CreateAccessList>;

createAccessList(
transactionConfig: TransactionConfig,
defaultBlock: BlockNumber,
callback?: (error: Error, result: CreateAccessList) => void
): Promise<CreateAccessList>;

getPastLogs(
options: PastLogsOptions,
callback?: (error: Error, logs: Log[]) => void
Expand Down Expand Up @@ -441,6 +452,17 @@ export interface BlockTransactionString extends BlockTransactionBase {
transactions: string[];
}

export interface AccessTuple {
address: string;
storageKeys: string[];
}

export interface CreateAccessList {
accessList: AccessTuple[];
error?: string;
gasUsed: string;
}

export interface GetProof {
address: string;
balance: string;
Expand Down