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

web3-eth-Contract validation test fails #6461

Closed
luu-alex opened this issue Sep 26, 2023 · 0 comments
Closed

web3-eth-Contract validation test fails #6461

luu-alex opened this issue Sep 26, 2023 · 0 comments
Assignees
Labels
4.x 4.0 related Bug Addressing a bug

Comments

@luu-alex
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4.x 4.0 related Bug Addressing a bug
Projects
None yet
Development

No branches or pull requests

2 participants