Skip to content

Not working with Polkadot Bulletin Chain #969

@josepot

Description

@josepot

I wanted to try something on the recently deployed Polkadot Bulletin chain. However, chopstick crashes when trying to author a new block:

[18:15:41.731] ERROR (txpool): build block failed
    app: "chopsticks"
    error: {}
[18:15:41.731] ERROR (txpool): build block failed
    app: "chopsticks"
    err: {
      "type": "Error",
      "message": "Unresolved function `env`:`ext_transaction_index_renew_version_1`",
      "stack":
          Error: Unresolved function `env`:`ext_transaction_index_renew_version_1`
              at call (/Users/josep/Projects/runtime-checks/node_modules/@acala-network/chopsticks-core/dist/esm/blockchain/block.js:258:35)
              at processTicksAndRejections (native:7:39)
    }

Minimal repro:

import { ChopsticksProvider, setup } from "@acala-network/chopsticks-core";

const chain = await setup({ endpoint: "wss://rpc.interweb-it.com/bulletin" });
await chain.api.isReady;

const innerProvider = new ChopsticksProvider(chain);
await innerProvider.isReady;

const result = await innerProvider.send("dev_newBlock", [], false);
console.log({ result });

I'm guessing that it's b/c there must be something about the way that the Bulletin runtime authors the blocks that's not compatible with Chopsticks... Could you please look into this? 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions