use-ink/ink-examples

Error in delegator example

Opened this issue · 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

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 :)