Simple lock: Add endpoints that breaks farm #3766
actions.yml
on: pull_request
Contracts
/
Wasm tests
3m 28s
Contracts
/
Rust tests
1m 29s
Contracts
/
Clippy linter check
31s
Annotations
76 errors and 3 warnings
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L7:
locked-asset/simple-lock/tests/simple_lock_test.rs#L7
error[E0433]: failed to resolve: use of undeclared crate or module `energy_factory`
--> locked-asset/simple-lock/tests/simple_lock_test.rs:7:5
|
7 | use energy_factory::energy::EnergyModule;
| ^^^^^^^^^^^^^^ use of undeclared crate or module `energy_factory`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L6:
locked-asset/simple-lock/tests/simple_lock_test.rs#L6
error[E0432]: unresolved import `config`
--> locked-asset/simple-lock/tests/simple_lock_test.rs:6:5
|
6 | use config::ConfigModule;
| ^^^^^^ use of undeclared crate or module `config`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L19:
locked-asset/simple-lock/tests/simple_lock_test.rs#L19
error[E0433]: failed to resolve: use of undeclared crate or module `proxy_dex`
--> locked-asset/simple-lock/tests/simple_lock_test.rs:19:5
|
19 | use proxy_dex::{
| ^^^^^^^^^ use of undeclared crate or module `proxy_dex`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L8:
locked-asset/simple-lock/tests/simple_lock_test.rs#L8
error[E0432]: unresolved import `energy_query`
--> locked-asset/simple-lock/tests/simple_lock_test.rs:8:5
|
8 | use energy_query::Energy;
| ^^^^^^^^^^^^ use of undeclared crate or module `energy_query`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L16:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L16
error[E0433]: failed to resolve: use of undeclared crate or module `farm`
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:16:5
|
16 | use farm::exit_penalty::ExitPenaltyModule;
| ^^^^ use of undeclared crate or module `farm`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L15:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L15
error[E0432]: unresolved import `config`
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:15:5
|
15 | use config::*;
| ^^^^^^ use of undeclared crate or module `config`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L18:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L18
error[E0433]: failed to resolve: use of undeclared crate or module `farm_boosted_yields`
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:18:5
|
18 | use farm_boosted_yields::boosted_yields_factors::BoostedYieldsFactorsModule;
| ^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `farm_boosted_yields`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L17:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L17
error[E0432]: unresolved import `farm`
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:17:5
|
17 | use farm::*;
| ^^^^ use of undeclared crate or module `farm`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L19:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L19
error[E0432]: unresolved import `farm_token`
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:19:5
|
19 | use farm_token::FarmTokenModule;
| ^^^^^^^^^^ use of undeclared crate or module `farm_token`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L20:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L20
error[E0432]: unresolved import `pausable`
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:20:5
|
20 | use pausable::{PausableModule, State};
| ^^^^^^^^ use of undeclared crate or module `pausable`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L83:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L83
error[E0425]: cannot find value `FARM_WASM_PATH` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:83:13
|
83 | FARM_WASM_PATH,
| ^^^^^^^^^^^^^^ not found in this scope
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29
error[E0425]: cannot find value `FARM_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:104:55
|
29 | pub static LP_TOKEN_ID: &[u8] = b"LPTOK-123456";
| ------------------------------------------------ similarly named static `LP_TOKEN_ID` defined here
...
104 | let farm_token_id = managed_token_id!(FARM_TOKEN_ID);
| ^^^^^^^^^^^^^ help: a static with a similar name exists: `LP_TOKEN_ID`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L109:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L109
error[E0425]: cannot find value `MIN_FARMING_EPOCHS` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:109:49
|
109 | sc.minimum_farming_epochs().set(MIN_FARMING_EPOCHS);
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L45:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L45
error[E0425]: cannot find value `PENALTY_PERCENT` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:110:42
|
45 | pub static PENALTY_PERCENTAGES: &[u64] = &[4_000, 6_000, 8_000];
| ---------------------------------------------------------------- similarly named static `PENALTY_PERCENTAGES` defined here
...
110 | sc.penalty_percent().set(PENALTY_PERCENT);
| ^^^^^^^^^^^^^^^ help: a static with a similar name exists: `PENALTY_PERCENTAGES`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L120:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L120
error[E0425]: cannot find value `MAX_REWARDS_FACTOR` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:120:38
|
120 | managed_biguint!(MAX_REWARDS_FACTOR),
| ^^^^^^^^^^^^^^^^^^ not found in this scope
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29
error[E0425]: cannot find value `FARM_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:136:13
|
29 | pub static LP_TOKEN_ID: &[u8] = b"LPTOK-123456";
| ------------------------------------------------ similarly named static `LP_TOKEN_ID` defined here
...
136 | FARM_TOKEN_ID,
| ^^^^^^^^^^^^^ help: a static with a similar name exists: `LP_TOKEN_ID`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L158:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L158
error[E0425]: cannot find value `USER_TOTAL_LP_TOKENS` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:158:28
|
158 | &rust_biguint!(USER_TOTAL_LP_TOKENS),
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L161:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L161
error[E0422]: cannot find struct, variant or union type `SingleUserFarmSetup` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:161:9
|
161 | SingleUserFarmSetup {
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29
error[E0425]: cannot find value `FARM_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:198:39
|
29 | pub static LP_TOKEN_ID: &[u8] = b"LPTOK-123456";
| ------------------------------------------------ similarly named static `LP_TOKEN_ID` defined here
...
198 | managed_token_id!(FARM_TOKEN_ID)
| ^^^^^^^^^^^^^ help: a static with a similar name exists: `LP_TOKEN_ID`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29
error[E0425]: cannot find value `FARM_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:219:13
|
29 | pub static LP_TOKEN_ID: &[u8] = b"LPTOK-123456";
| ------------------------------------------------ similarly named static `LP_TOKEN_ID` defined here
...
219 | FARM_TOKEN_ID,
| ^^^^^^^^^^^^^ help: a static with a similar name exists: `LP_TOKEN_ID`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29
error[E0425]: cannot find value `FARM_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:242:17
|
29 | pub static LP_TOKEN_ID: &[u8] = b"LPTOK-123456";
| ------------------------------------------------ similarly named static `LP_TOKEN_ID` defined here
...
242 | FARM_TOKEN_ID,
| ^^^^^^^^^^^^^ help: a static with a similar name exists: `LP_TOKEN_ID`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29
error[E0425]: cannot find value `FARM_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:294:17
|
29 | pub static LP_TOKEN_ID: &[u8] = b"LPTOK-123456";
| ------------------------------------------------ similarly named static `LP_TOKEN_ID` defined here
...
294 | FARM_TOKEN_ID,
| ^^^^^^^^^^^^^ help: a static with a similar name exists: `LP_TOKEN_ID`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29
error[E0425]: cannot find value `FARM_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:304:43
|
29 | pub static LP_TOKEN_ID: &[u8] = b"LPTOK-123456";
| ------------------------------------------------ similarly named static `LP_TOKEN_ID` defined here
...
304 | managed_token_id!(FARM_TOKEN_ID)
| ^^^^^^^^^^^^^ help: a static with a similar name exists: `LP_TOKEN_ID`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L29
error[E0425]: cannot find value `FARM_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:330:13
|
29 | pub static LP_TOKEN_ID: &[u8] = b"LPTOK-123456";
| ------------------------------------------------ similarly named static `LP_TOKEN_ID` defined here
...
330 | FARM_TOKEN_ID,
| ^^^^^^^^^^^^^ help: a static with a similar name exists: `LP_TOKEN_ID`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L27:
locked-asset/simple-lock/tests/simple_lock_test.rs#L27
error[E0433]: failed to resolve: use of undeclared type `SimpleLockSetup`
--> locked-asset/simple-lock/tests/simple_lock_test.rs:27:21
|
27 | let mut setup = SimpleLockSetup::new(
| ^^^^^^^^^^^^^^^ use of undeclared type `SimpleLockSetup`
|
help: consider importing this struct
|
5 + use crate::simple_lock_test_setup::SimpleLockSetup;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L41:
locked-asset/simple-lock/tests/simple_lock_test.rs#L41
error[E0425]: cannot find value `LP_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:41:62
|
41 | sc.farming_token_id().set(&managed_token_id!(LP_TOKEN_ID));
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::LP_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L51:
locked-asset/simple-lock/tests/simple_lock_test.rs#L51
error[E0425]: cannot find value `LP_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:51:9
|
51 | LP_TOKEN_ID,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::LP_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L63:
locked-asset/simple-lock/tests/simple_lock_test.rs#L63
error[E0425]: cannot find value `LOCKED_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:63:31
|
63 | token_identifier: LOCKED_TOKEN_ID.to_vec(),
| ^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::LOCKED_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L68:
locked-asset/simple-lock/tests/simple_lock_test.rs#L68
error[E0425]: cannot find value `WEGLD_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:68:31
|
68 | token_identifier: WEGLD_TOKEN_ID.to_vec(),
| ^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::WEGLD_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L89:
locked-asset/simple-lock/tests/simple_lock_test.rs#L89
error[E0425]: cannot find value `WRAPPED_LP_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:89:9
|
89 | WRAPPED_LP_TOKEN_ID,
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::WRAPPED_LP_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L94:
locked-asset/simple-lock/tests/simple_lock_test.rs#L94
error[E0425]: cannot find value `LOCKED_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:94:53
|
94 | token_identifier: managed_token_id!(LOCKED_TOKEN_ID),
| ^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::LOCKED_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L98:
locked-asset/simple-lock/tests/simple_lock_test.rs#L98
error[E0425]: cannot find value `LP_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:98:44
|
98 | lp_token_id: managed_token_id!(LP_TOKEN_ID),
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::LP_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L104:
locked-asset/simple-lock/tests/simple_lock_test.rs#L104
error[E0425]: cannot find value `USER_BALANCE` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:104:24
|
104 | let user_balance = USER_BALANCE;
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this constant
|
5 + use crate::simple_lock_test_setup::USER_BALANCE;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L108:
locked-asset/simple-lock/tests/simple_lock_test.rs#L108
error[E0425]: cannot find value `LOCK_OPTIONS` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:108:32
|
108 | let unlock_epoch = LOCK_OPTIONS[0];
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::LOCK_OPTIONS;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L134:
locked-asset/simple-lock/tests/simple_lock_test.rs#L134
error[E0425]: cannot find value `WRAPPED_LP_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:134:13
|
134 | WRAPPED_LP_TOKEN_ID,
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::WRAPPED_LP_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L146:
locked-asset/simple-lock/tests/simple_lock_test.rs#L146
error[E0425]: cannot find value `LOCK_OPTIONS` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:146:41
|
146 | let expected_energy = rust_biguint!(LOCK_OPTIONS[0] - current_epoch) * USER_BALANCE;
| ^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::LOCK_OPTIONS;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L146:
locked-asset/simple-lock/tests/simple_lock_test.rs#L146
error[E0425]: cannot find value `USER_BALANCE` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:146:76
|
146 | let expected_energy = rust_biguint!(LOCK_OPTIONS[0] - current_epoch) * USER_BALANCE;
| ^^^^^^^^^^^^
|
help: a local variable with a similar name exists
|
146 | let expected_energy = rust_biguint!(LOCK_OPTIONS[0] - current_epoch) * user_balance;
| ~~~~~~~~~~~~
help: consider importing this constant
|
5 + use crate::simple_lock_test_setup::USER_BALANCE;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L159:
locked-asset/simple-lock/tests/simple_lock_test.rs#L159
error[E0425]: cannot find value `WRAPPED_FARM_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:159:9
|
159 | WRAPPED_FARM_TOKEN_ID,
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::WRAPPED_FARM_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L164:
locked-asset/simple-lock/tests/simple_lock_test.rs#L164
error[E0425]: cannot find value `WRAPPED_LP_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:164:53
|
164 | token_identifier: managed_token_id!(WRAPPED_LP_TOKEN_ID),
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::WRAPPED_LP_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L169:
locked-asset/simple-lock/tests/simple_lock_test.rs#L169
error[E0425]: cannot find value `FARM_LOCKED_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:169:53
|
169 | token_identifier: managed_token_id!(FARM_LOCKED_TOKEN_ID),
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::FARM_LOCKED_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L181:
locked-asset/simple-lock/tests/simple_lock_test.rs#L181
error[E0425]: cannot find value `FARM_LOCKED_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:181:13
|
181 | FARM_LOCKED_TOKEN_ID,
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::FARM_LOCKED_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L190:
locked-asset/simple-lock/tests/simple_lock_test.rs#L190
error[E0425]: cannot find value `LP_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:190:9
|
190 | LP_TOKEN_ID,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::LP_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L210:
locked-asset/simple-lock/tests/simple_lock_test.rs#L210
error[E0425]: cannot find value `WRAPPED_FARM_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:210:13
|
210 | WRAPPED_FARM_TOKEN_ID,
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::WRAPPED_FARM_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L240:
locked-asset/simple-lock/tests/simple_lock_test.rs#L240
error[E0425]: cannot find value `WRAPPED_FARM_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:240:9
|
240 | WRAPPED_FARM_TOKEN_ID,
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::WRAPPED_FARM_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L248:
locked-asset/simple-lock/tests/simple_lock_test.rs#L248
error[E0425]: cannot find value `WRAPPED_LP_TOKEN_ID` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:248:9
|
248 | WRAPPED_LP_TOKEN_ID,
| ^^^^^^^^^^^^^^^^^^^ not found in this scope
|
help: consider importing this static
|
5 + use crate::simple_lock_test_setup::WRAPPED_LP_TOKEN_ID;
|
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L54:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L54
error[E0433]: failed to resolve: use of undeclared crate or module `pair`
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:54:46
|
54 | PairObjBuilder: 'static + Copy + Fn() -> pair::ContractObj<DebugApi>,
| ^^^^ use of undeclared crate or module `pair`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L55:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L55
error[E0433]: failed to resolve: use of undeclared crate or module `farm_with_locked_rewards`
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:55:52
|
55 | FarmLockedObjBuilder: 'static + Copy + Fn() -> farm_with_locked_rewards::ContractObj<DebugApi>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `farm_with_locked_rewards`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L63:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L63
error[E0433]: failed to resolve: use of undeclared crate or module `pair`
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:63:42
|
63 | pub pair_wrapper: ContractObjWrapper<pair::ContractObj<DebugApi>, PairObjBuilder>,
| ^^^^ use of undeclared crate or module `pair`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L65:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L65
error[E0433]: failed to resolve: use of undeclared crate or module `farm_with_locked_rewards`
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:65:28
|
65 | ContractObjWrapper<farm_with_locked_rewards::ContractObj<DebugApi>, FarmLockedObjBuilder>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `farm_with_locked_rewards`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L72:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L72
error[E0433]: failed to resolve: use of undeclared crate or module `pair`
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:72:46
|
72 | PairObjBuilder: 'static + Copy + Fn() -> pair::ContractObj<DebugApi>,
| ^^^^ use of undeclared crate or module `pair`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L73:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L73
error[E0433]: failed to resolve: use of undeclared crate or module `farm_with_locked_rewards`
--> locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs:73:52
|
73 | FarmLockedObjBuilder: 'static + Copy + Fn() -> farm_with_locked_rewards::ContractObj<DebugApi>,
| ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `farm_with_locked_rewards`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L28:
locked-asset/simple-lock/tests/simple_lock_test.rs#L28
error[E0433]: failed to resolve: use of undeclared crate or module `proxy_dex`
--> locked-asset/simple-lock/tests/simple_lock_test.rs:28:9
|
28 | proxy_dex::contract_obj,
| ^^^^^^^^^ use of undeclared crate or module `proxy_dex`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L29:
locked-asset/simple-lock/tests/simple_lock_test.rs#L29
error[E0433]: failed to resolve: use of undeclared crate or module `pair`
--> locked-asset/simple-lock/tests/simple_lock_test.rs:29:9
|
29 | pair::contract_obj,
| ^^^^ use of undeclared crate or module `pair`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L30:
locked-asset/simple-lock/tests/simple_lock_test.rs#L30
error[E0433]: failed to resolve: use of undeclared crate or module `farm_with_locked_rewards`
--> locked-asset/simple-lock/tests/simple_lock_test.rs:30:9
|
30 | farm_with_locked_rewards::contract_obj,
| ^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `farm_with_locked_rewards`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L31:
locked-asset/simple-lock/tests/simple_lock_test.rs#L31
error[E0433]: failed to resolve: use of undeclared crate or module `energy_factory`
--> locked-asset/simple-lock/tests/simple_lock_test.rs:31:9
|
31 | energy_factory::contract_obj,
| ^^^^^^^^^^^^^^ use of undeclared crate or module `energy_factory`
|
[clippy] locked-asset/simple-lock/tests/simple_lock_test.rs#L151:
locked-asset/simple-lock/tests/simple_lock_test.rs#L151
error[E0425]: cannot find function `to_rust_biguint` in this scope
--> locked-asset/simple-lock/tests/simple_lock_test.rs:151:26
|
151 | let result = to_rust_biguint(managed_result);
| ^^^^^^^^^^^^^^^ not found in this scope
|
Contracts / Rust tests:
locked-asset/simple-lock/tests/simple_lock_test.rs#L7
failed to resolve: use of undeclared crate or module `energy_factory`
|
Contracts / Rust tests:
locked-asset/simple-lock/tests/simple_lock_test.rs#L6
unresolved import `config`
|
Contracts / Rust tests:
locked-asset/simple-lock/tests/simple_lock_test.rs#L19
failed to resolve: use of undeclared crate or module `proxy_dex`
|
Contracts / Rust tests:
locked-asset/simple-lock/tests/simple_lock_test.rs#L8
unresolved import `energy_query`
|
Contracts / Rust tests:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L16
failed to resolve: use of undeclared crate or module `farm`
|
Contracts / Rust tests:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L15
unresolved import `config`
|
Contracts / Rust tests:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L18
failed to resolve: use of undeclared crate or module `farm_boosted_yields`
|
Contracts / Rust tests:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L17
unresolved import `farm`
|
Contracts / Rust tests:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L19
unresolved import `farm_token`
|
Contracts / Rust tests:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L20
unresolved import `pausable`
|
Contracts / Wasm tests:
locked-asset/simple-lock/tests/simple_lock_test.rs#L7
failed to resolve: use of undeclared crate or module `energy_factory`
|
Contracts / Wasm tests:
locked-asset/simple-lock/tests/simple_lock_test.rs#L6
unresolved import `config`
|
Contracts / Wasm tests:
locked-asset/simple-lock/tests/simple_lock_test.rs#L19
failed to resolve: use of undeclared crate or module `proxy_dex`
|
Contracts / Wasm tests:
locked-asset/simple-lock/tests/simple_lock_test.rs#L8
unresolved import `energy_query`
|
Contracts / Wasm tests:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L16
failed to resolve: use of undeclared crate or module `farm`
|
Contracts / Wasm tests:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L15
unresolved import `config`
|
Contracts / Wasm tests:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L18
failed to resolve: use of undeclared crate or module `farm_boosted_yields`
|
Contracts / Wasm tests:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L17
unresolved import `farm`
|
Contracts / Wasm tests:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L19
unresolved import `farm_token`
|
Contracts / Wasm tests:
locked-asset/simple-lock/tests/simple_lock_test_setup/mod.rs#L20
unresolved import `pausable`
|
Contracts / Clippy linter check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Contracts / Rust tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Contracts / Wasm tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|