octopus-pallets on feature/add-chainbridge [!?] via 🦀 v1.65.0-nightly took 7s
❯ cargo test
Compiling pallet-octopus-appchain v4.0.0-pre.0 (/Users/davirain/octopus/octopus-pallets/appchain)
Compiling pallet-octopus-lpos v4.0.0-pre.0 (/Users/davirain/octopus/octopus-pallets/lpos)
error[E0061]: this function takes 7 arguments but 6 arguments were supplied
--> appchain/src/tests.rs:659:3
|
659 | OctopusAppchain::observing_mainchain(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
662 | b"oct-test.testnet".to_vec(),
| ---------------------------- an argument of type `&str` is missing
|
note: associated function defined here
--> appchain/src/lib.rs:1228:10
|
1228 | pub fn observing_mainchain(
| ^^^^^^^^^^^^^^^^^^^
1229 | block_number: T::BlockNumber,
| ----------------------------
1230 | mainchain_rpc_endpoint: &str,
| ----------------------------
1231 | secondary_mainchain_rpc_endpoint: &str,
| --------------------------------------
1232 | anchor_contract: Vec<u8>,
| ------------------------
1233 | public: <T as SigningTypes>::Public,
| -----------------------------------
1234 | key_data: Vec<u8>,
| -----------------
1235 | _validator_id: T::AccountId,
| ---------------------------
help: provide the argument
|
659 | OctopusAppchain::observing_mainchain(2, "https://rpc.testnet.near.org", /* &str */, b"oct-test.testnet".to_vec(), public.clone(), public.into_account().encode(), account)
|
error[E0061]: this function takes 7 arguments but 6 arguments were supplied
--> appchain/src/tests.rs:732:3
|
732 | OctopusAppchain::observing_mainchain(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
735 | b"oct-test.testnet".to_vec(),
| ---------------------------- an argument of type `&str` is missing
|
note: associated function defined here
--> appchain/src/lib.rs:1228:10
|
1228 | pub fn observing_mainchain(
| ^^^^^^^^^^^^^^^^^^^
1229 | block_number: T::BlockNumber,
| ----------------------------
1230 | mainchain_rpc_endpoint: &str,
| ----------------------------
1231 | secondary_mainchain_rpc_endpoint: &str,
| --------------------------------------
1232 | anchor_contract: Vec<u8>,
| ------------------------
1233 | public: <T as SigningTypes>::Public,
| -----------------------------------
1234 | key_data: Vec<u8>,
| -----------------
1235 | _validator_id: T::AccountId,
| ---------------------------
help: provide the argument
|
732 | OctopusAppchain::observing_mainchain(2, "https://rpc.testnet.near.org", /* &str */, b"oct-test.testnet".to_vec(), public.clone(), public.into_account().encode(), account)
|
For more information about this error, try `rustc --explain E0061`.
error: could not compile `pallet-octopus-appchain` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...