Skip to content

TezosProtocol error when trying to deploy a contract #22

@tezosmiami

Description

@tezosmiami

Maybe misunderstanding how this all works but wrote a basic ligo contract for storing chess games on L2 - tried deploying on rollup and got the errors in the config file - contract deploys without error on mumbai testnet. . .

https://better-call.dev/mumbainet/KT191P3RCdPEHxH3BDKjCve1MZvzChynUUsd/operations

error.txt
chess_ligo.zip

HttpResponse: Http error response: (500) TezosProtocol error
Caused by: Interpreter error, Caused by: Typechecking error, Expected: 2 args Found: 3
Stacktrace:
   0: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual.25018
   1: tokio::runtime::task::raw::poll
   2: tokio::runtime::task::UnownedTask<S>::run
   3: std::sys_common::backtrace::__rust_begin_short_backtrace
   4: core::ops::function::FnOnce::call_once{{vtable.shim}}
   5: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/alloc/src/boxed.rs:1988:9
   6: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once
             at ./rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/alloc/src/boxed.rs:1988:9
   7: std::sys::unix::thread::Thread::new::thread_start
             at ./rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys/unix/thread.rs:108:17
   8: <unknown>

    at HttpBackend.<anonymous> (/Users/nicolas/Coding/shifumi-cameligo/deploy/node_modules/@taquito/http-utils/src/taquito-http-utils.ts:150:15)
    at Generator.throw (<anonymous>)
    at rejected (/Users/nicolas/Coding/shifumi-cameligo/deploy/node_modules/@taquito/http-utils/dist/taquito-http-utils.umd.js:30:69)
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  status: 500,
  statusText: 'Internal Server Error',
  body: 'TezosProtocol error\n' +
    'Caused by: Interpreter error, Caused by: Typechecking error, Expected: 2 args Found: 3\n' +
    'Stacktrace:\n' +
    '   0: <core::result::Result<T,F> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible,E>>>::from_residual.25018\n' +
    '   1: tokio::runtime::task::raw::poll\n' +
    '   2: tokio::runtime::task::UnownedTask<S>::run\n' +
    '   3: std::sys_common::backtrace::__rust_begin_short_backtrace\n' +
    '   4: core::ops::function::FnOnce::call_once{{vtable.shim}}\n' +
    '   5: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once\n' +
    '             at ./rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/alloc/src/boxed.rs:1988:9\n' +
    '   6: <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once\n' +
    '             at ./rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/alloc/src/boxed.rs:1988:9\n' +
    '   7: std::sys::unix::thread::Thread::new::thread_start\n' +
    '             at ./rustc/9eb3afe9ebe9c7d2b84b71002d44f4a0edac95e0/library/std/src/sys/unix/thread.rs:108:17\n' +
    '   8: <unknown>\n',
  url: 'https://rollupnet.zaun.baking-bad.org/chains/main/blocks/head/helpers/scripts/run_operation'
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions