ink-examples icon indicating copy to clipboard operation
ink-examples copied to clipboard

Error in delegator example

Open Daanvdplas opened this issue 2 years ago • 1 comments

When running the e2e-test and trying out the contract I get the following error: E2e-test:

thread 'delegator::e2e_tests::e2e_delegator' panicked at 'error on ws request upload_code: Rpc(ClientError(Call(Custom(ErrorObject { code: ServerError(-32000), message: "Client error: Execution failed: Runtime panicked: Bad input data provided to upload_code: Input buffer has still data left after decoding!", data: None }))))', /Users/parity/.cargo/registry/src/github.com-1ecc6299db9ec823/ink_e2e-4.0.1/src/xts.rs:333:17

Running the contract:

tokio-runtime-worker jsonrpsee_server::transport::ws: WS transport error: i/o error: Socket is not connected (os error 57); terminate connection: 8

Daanvdplas avatar Apr 03 '23 07:04 Daanvdplas

Other contracts are working fine so I think it doesn't have to do with my machine.

I'd love to fix the issue if someone can tell me what the problem is :)

Daanvdplas avatar Apr 03 '23 07:04 Daanvdplas