Closed hyperji closed 1 month ago
this is the file produces the error
is there something wrong with the "0xa7a4" when compiling?
when I chaged 0xa7a4 to 0x544d, it run correctly, without any error.
Fixed in #442 and also recognizing the initial fix that was done in #438
Describe the bug error[E0412]: cannot find type
DeterministicHashData
in this scopeTo Reproduce Steps to reproduce the behavior:
the error is in below:
`error: Seal changed - was: 0xa7a4 now: 0x544d --> wallet/core/src/deterministic.rs:59:9 | 59 | seal! { 0xa7a4, { | ^^^^^^
error[E0412]: cannot find type) -> [Hash; N]
| ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
DeterministicHashData
in this scope --> wallet/core/src/deterministic.rs:78:45 | 78 | fn make_hashes<T, const N: usize>(hashable: DeterministicHashDataerror[E0422]: cannot find struct, variant or union type
DeterministicHashData
in this scope --> wallet/core/src/deterministic.rs:93:20 | 93 | let hashable = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0422]: cannot find struct, variant or union type
DeterministicHashData
in this scope --> wallet/core/src/deterministic.rs:106:20 | 106 | let hashable = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0422]: cannot find struct, variant or union type
DeterministicHashData
in this scope --> wallet/core/src/deterministic.rs:119:20 | 119 | let hashable = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0422]: cannot find struct, variant or union type
DeterministicHashData
in this scope --> wallet/core/src/deterministic.rs:132:20 | 132 | let hashable = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type
DeterministicHashData
in this scope --> wallet/core/src/deterministic.rs:145:19 | 145 | let hashable: DeterministicHashData<[PrvKeyDataId; 0]> = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0422]: cannot find struct, variant or union type
DeterministicHashData
in this scope --> wallet/core/src/deterministic.rs:145:62 | 145 | let hashable: DeterministicHashData<[PrvKeyDataId; 0]> = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0412]: cannot find type
DeterministicHashData
in this scope --> wallet/core/src/deterministic.rs:158:19 | 158 | let hashable: DeterministicHashData<[PrvKeyDataId; 0]> = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeerror[E0422]: cannot find struct, variant or union type
DeterministicHashData
in this scope --> wallet/core/src/deterministic.rs:158:62 | 158 | let hashable: DeterministicHashData<[PrvKeyDataId; 0]> = DeterministicHashData { | ^^^^^^^^^^^^^^^^^^^^^ not found in this scopeSome errors have detailed explanations: E0412, E0422. For more information about an error, try
rustc --explain E0412
. error: could not compilekaspa-wallet-core
(lib) due to 10 previous errors warning: build failed, waiting for other jobs to finish... error: could not compilekaspa-wallet-core
(lib test) due to 10 previous errors`