Skip to content

feat: api fungibles pallet #121

feat: api fungibles pallet

feat: api fungibles pallet #121

Triggered via pull request July 19, 2024 16:27
@DaanvdplasDaanvdplas
opened #113
Status Success
Total duration 10s
Artifacts

lint-pr.yml

on: pull_request_target
Validate PR title for conventional commit compliance
2s
Validate PR title for conventional commit compliance
Fit to window
Zoom out
Zoom in

Annotations

2 errors
failed to resolve: use of undeclared type `Something`: pallets/fungibles/src/benchmarking.rs#L18
error[E0433]: failed to resolve: use of undeclared type `Something` --> pallets/fungibles/src/benchmarking.rs:18:14 | 18 | assert_eq!(Something::<T>::get(), Some(s)); | ^^^^^^^^^ use of undeclared type `Something`
no variant or associated item named `new_call_variant_do_something` found for enum `pallet::Call` in the current scope: /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/frame-benchmarking-29.0.0/src/v1.rs#L446
error[E0599]: no variant or associated item named `new_call_variant_do_something` found for enum `pallet::Call` in the current scope --> pallets/fungibles/src/benchmarking.rs:12:1 | 12 | / benchmarks! { 13 | | do_something { 14 | | let s in 0 .. 100; 15 | | let caller: T::AccountId = whitelisted_caller(); ... | 19 | | } 20 | | } | | ^ | |_| | variant or associated item not found in `Call<T>` | ::: pallets/fungibles/src/lib.rs:43:12 | 43 | #[pallet::call] | ---- variant or associated item `new_call_variant_do_something` not found for this enum | note: if you're trying to build a new `pallet::Call<T>`, consider using `pallet::Call::<T>::new_call_variant_transfer` which returns `pallet::Call<_>` --> pallets/fungibles/src/lib.rs:43:12 | 43 | #[pallet::call] | ^^^^ help: there is an associated function `new_call_variant_transfer` with a similar name --> pallets/fungibles/src/lib.rs:43:12 | 43 | #[pallet::call] | ^^^^ = note: this error originates in the macro `$crate::benchmarks_iter` which comes from the expansion of the macro `benchmarks` (in Nightly builds, run with -Z macro-backtrace for more info)