Skip to content

Hydration not working properly #971

@dudo50

Description

@dudo50

Dear Chopsticks team,

Hydration seems not to work correctly after they have made a change that accommodates for Hollar. It seems that Chopsticks does not account for the method that is used in order to interact with the asset.

Here is the issue we are receiving:

Image

Their SDK seems to report, that there is no method named eth_call on their chain.

Chopsticks logs:

[01:11:54.022] WARN (rpc): Method not found eth_call
    app: "chopsticks"
[01:11:54.025] WARN (rpc): Method not found eth_call
    app: "chopsticks"
[01:11:54.025] WARN (rpc): Method not found eth_getBlockByNumber
    app: "chopsticks"
[01:11:54.025] WARN (rpc): Method not found eth_call
    app: "chopsticks"
[01:11:54.025] WARN (rpc): Method not found eth_call
    app: "chopsticks"
[01:11:54.025] WARN (rpc): Method not found eth_getBlockByNumber
    app: "chopsticks"
[01:11:54.025] WARN (rpc): Method not found eth_call
    app: "chopsticks"
[01:11:54.025] WARN (rpc): Method not found eth_call
    app: "chopsticks"
[01:11:54.025] WARN (rpc): Method not found eth_getBlockByNumber
    app: "chopsticks"
[01:11:54.029] ERROR (ws): Error handling request: 'ResponseError: Method not found: eth_call
    at /home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/rpc/index.js:39:19
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async processRequest (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:225:30)
    at async WebSocket.<anonymous> (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:287:30)'
    app: "chopsticks"
[01:11:54.029] ERROR (ws): Error handling request: 'ResponseError: Method not found: eth_call
    at /home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/rpc/index.js:39:19
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async processRequest (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:225:30)
    at async WebSocket.<anonymous> (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:287:30)'
    app: "chopsticks"
[01:11:54.029] ERROR (ws): Error handling request: 'ResponseError: Method not found: eth_getBlockByNumber
    at /home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/rpc/index.js:39:19
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async processRequest (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:225:30)
    at async WebSocket.<anonymous> (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:287:30)'
    app: "chopsticks"
[01:11:54.029] ERROR (ws): Error handling request: 'ResponseError: Method not found: eth_call
    at /home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/rpc/index.js:39:19
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async processRequest (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:225:30)
    at async WebSocket.<anonymous> (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:287:30)'
    app: "chopsticks"
[01:11:54.029] ERROR (ws): Error handling request: 'ResponseError: Method not found: eth_call
    at /home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/rpc/index.js:39:19
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async processRequest (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:225:30)
    at async WebSocket.<anonymous> (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:287:30)'
    app: "chopsticks"
[01:11:54.029] ERROR (ws): Error handling request: 'ResponseError: Method not found: eth_getBlockByNumber
    at /home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/rpc/index.js:39:19
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async processRequest (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:225:30)
    at async WebSocket.<anonymous> (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:287:30)'
    app: "chopsticks"
[01:11:54.029] ERROR (ws): Error handling request: 'ResponseError: Method not found: eth_call
    at /home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/rpc/index.js:39:19
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async processRequest (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:225:30)
    at async WebSocket.<anonymous> (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:287:30)'
    app: "chopsticks"
[01:11:54.029] ERROR (ws): Error handling request: 'ResponseError: Method not found: eth_call
    at /home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/rpc/index.js:39:19
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async processRequest (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:225:30)
    at async WebSocket.<anonymous> (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:287:30)'
    app: "chopsticks"
[01:11:54.029] ERROR (ws): Error handling request: 'ResponseError: Method not found: eth_getBlockByNumber
    at /home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/rpc/index.js:39:19
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async processRequest (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:225:30)
    at async WebSocket.<anonymous> (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:287:30)'
    app: "chopsticks"
[01:12:09.947] WARN (rpc): Method not found eth_call
    app: "chopsticks"
[01:12:09.947] ERROR (ws): Error handling request: 'ResponseError: Method not found: eth_call
    at /home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/rpc/index.js:39:19
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async processRequest (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:225:30)
    at async WebSocket.<anonymous> (/home/muddl/.npm/_npx/c1c4d257924715f9/node_modules/@acala-network/chopsticks/dist/cjs/server.js:287:30)'
    app: "chopsticks"

Hydration seem to have made a change in their SDK around 2 months ago (Right when you also have made a change for Hydration config, so maybe the change was missed)

Image

https://github.com/galacticcouncil/sdk/blob/9e215f522857b2ae69d18aeec2cba4b31911a3a9/packages/sdk/src/gho/GhoTokenClient.ts#L21

Please let us know if we can be of any further help or if you need any further details in order to debug this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions