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

[SENTINEL] - Web3 (v4) zod parsing error "check is not a function" #252

Closed
ngmachado opened this issue Oct 17, 2023 · 1 comment
Closed
Labels
Type: Bug Something isn't working

Comments

@ngmachado
Copy link
Collaborator

ngmachado commented Oct 17, 2023

Updating the dependancies (protocol monorepo) of sentinel we are now facing a problem that can be trace to web3.js

This is a know problem with open issues 6376, 6384 and a pending PR

The problem seems to be the parser to int96.

NAME : createFlow
METHOD:  {
  inputs: [
    {
      internalType: 'contract ISuperfluidToken',
      name: 'token',
      type: 'address'
    },
    { internalType: 'address', name: 'receiver', type: 'address' },
    { internalType: 'int96', name: 'flowRate', type: 'int96' },
    { internalType: 'bytes', name: 'ctx', type: 'bytes' }
  ],
  name: 'createFlow',
  outputs: [ { internalType: 'bytes', name: 'newCtx', type: 'bytes' } ],
  stateMutability: 'nonpayable',
  type: 'function',
  signature: '0x62fc305e',
  constant: false,
  payable: false
}
PARAMS:  [
  '0xbc08d67BFB5e8D1C83796EA85cdEEc3145c07Df9',
  '0x8005EF80C3FB177198C19c9fdB6CA8E6D6468706',
  '100000000000',
  '0x'
]
@ngmachado ngmachado added the Type: Bug Something isn't working label Oct 17, 2023
@ngmachado
Copy link
Collaborator Author

This is fixed with the release of web3.js version 4.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant