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 3 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 @@ -1460,6 +1460,10 @@ should use 4.0.1-alpha.0 for testing.

- Bug fix of `checkNetwork` in ENS (#5988)

#### web3-eth-abi

- Bug fix of `ERR_UNSUPPORTED_DIR_IMPORT` in ABI (#6535)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am so sorry. I commit it now. Is it ok?

## [4.0.1-rc.2]

### Added
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-abi/src/coders/base/array.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { AbiError } from 'web3-errors';
import { AbiParameter } from 'web3-types';
import { uint8ArrayConcat } from 'web3-utils';
// eslint-disable-next-line import/no-cycle
import { decodeParamFromAbiParameter, encodeNumber, encodeParamFromAbiParameter } from '.';
import { decodeParamFromAbiParameter, encodeNumber, encodeParamFromAbiParameter } from './index.js';
import { DecoderResult, EncoderResult } from '../types.js';
import { extractArrayType, isDynamic, WORD_SIZE } from '../utils.js';
import { decodeNumber } from './number.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-abi/src/coders/base/tuple.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { AbiParameter } from 'web3-types';
import { uint8ArrayConcat } from 'web3-utils';
import { DecoderResult, EncoderResult } from '../types.js';
// eslint-disable-next-line import/no-cycle
import { decodeParamFromAbiParameter, encodeParamFromAbiParameter } from '.';
import { decodeParamFromAbiParameter, encodeParamFromAbiParameter } from './index.js';
import { encodeDynamicParams } from './utils.js';
import { isDynamic } from '../utils.js';
import { decodeNumber } from './number.js';
Expand Down
2 changes: 1 addition & 1 deletion packages/web3-eth-abi/src/coders/encode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ along with web3.js. If not, see <http://www.gnu.org/licenses/>.
import { AbiError } from 'web3-errors';
import { AbiInput } from 'web3-types';
import { utils } from 'web3-validator';
import { encodeTuple } from './base';
import { encodeTuple } from './base/index.js';
import { toAbiParams } from './utils.js';

export function encodeParameters(abi: ReadonlyArray<AbiInput>, params: unknown[]): string {
Expand Down