Skip to content

missing admin on secret-viewing-keys-contract #7

@angelorc

Description

@angelorc

I tried to compile the smart contracts using the make build command, but the compilation stopped and displayed this error:

...
   Compiling secret-toolkit-serialization v0.9.0
   Compiling secret-toolkit-permit v0.9.0
   Compiling secret-toolkit-utils v0.9.0
   Compiling secret-toolkit-storage v0.9.0
error[E0063]: missing field `admin` in initializer of `WasmMsg`
  --> /home/ubuntu/.cargo/registry/src/index.crates.io-6f17d22bba15001f/secret-toolkit-utils-0.9.0/src/calls.rs:52:20
   |
52 |         let init = WasmMsg::Instantiate {
   |                    ^^^^^^^^^^^^^^^^^^^^ missing `admin`

For more information about this error, try `rustc --explain E0063`.
error: could not compile `secret-toolkit-utils` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...
make: *** [Makefile:22: _build] Error 101
...

Am I doing something wrong? Do you have any suggestions?"

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