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

web3-eth-Contract validation test fails #6461

@luu-alex

Description

@luu-alex

test fails inconsistently from validation, i believe its been affected by this merge
https://github.com/web3/web3.js/actions/runs/6268996538/job/17024937030

web3-eth-contract:  FAIL  test/integration/local_account/contract_erc721.test.ts (10.058 s)
web3-eth-contract:   ● contract › erc721 › should award item "0x2"
web3-eth-contract:     Web3ValidatorError: Web3 validator found 1 error[s]:
web3-eth-contract:     value at "/0" is required
web3-eth-contract: 
web3-eth-contract:       108 | 					return errors;
web3-eth-contract:       109 | 				}
web3-eth-contract:     > 110 | 				throw new Web3ValidatorError(errors);
web3-eth-contract:           | 				      ^
web3-eth-contract:       111 | 			}
web3-eth-contract:       112 | 		}
web3-eth-contract:       113 | 		return undefined;
web3-eth-contract: 
web3-eth-contract:       at Validator.validate (../web3-validator/src/validator.ts:110:11)
web3-eth-contract:       at Web3Validator.validate (../web3-validator/src/web3_validator.ts:66:26)
web3-eth-contract:       at Object.<anonymous> (src/contract.ts:927:15)
web3-eth-contract:       at test/integration/local_account/contract_erc721.test.ts:88:38
web3-eth-contract:       at fulfilled (test/integration/local_account/contract_erc721.test.ts:21:58)

Expected behavior

Actual behavior

Steps to reproduce the behavior

  1. [First step]
  2. [Second step]
  3. [and so on...]

Logs

Environment

Metadata

Metadata

Assignees

Labels

4.x4.0 relatedBugAddressing a bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions