Skip to content

Build failing on linux #78

@smu160

Description

@smu160
      |
  302 | impl pallet_contracts::Config for Runtime {
      | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `MaxCodeLen`, `RelaxedMaxCodeLen` in implementation
      |
      = help: implement the missing item: `type MaxCodeLen = Type;`
      = help: implement the missing item: `type RelaxedMaxCodeLen = Type;`

  error[E0609]: no field `code_len` on type `Limits`
     --> /home/vasily/.cargo/git/checkouts/substrate-contracts-node-cf7c16677784d274/254342f/runtime/src/lib.rs:297:19
      |
  297 |         schedule.limits.code_len = 256 * 1024;
      |                         ^^^^^^^^ unknown field
      |
      = note: available fields are: `event_topics`, `stack_height`, `globals`, `parameters`, `memory_pages` ... and 5 others

Steps to reproduce:

cargo install contracts-node --git https://github.com/paritytech/substrate-contracts-node.git --tag v0.15.1 --force --locked

System info:

Distro: Ubuntu 22.04 LTS x86_64
Kernel: 5.15.0-30-generic

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