-
The error is:
```
error[E0277]: the trait bound `metaplex_anchor::MasterEdition: TokenMetadataAccount` is not satisfied
```
I ran `./download-programs` in a docker image like this, as I'm on M1 …
-
```
#[account]
pub struct User {
age: u64,
data: u8
}
#[derive(Accounts)]
pub struct Initialize,
pub system_program: Program
}
```
This code errors with
```
no function o…
-
It comes from the line code in the file src/rainbown/nep141-erc20/src/bridged-nep141/sendToEthereum/index.ts:334:41)
```
const withdrawEvent = deserializeBorsh(
SCHEMA, WithdrawEvent, Buffer.…
-
-
**Describe the bug**
I'm unable to upload or update with a CMv2 config where discountPrice is 0.
Error:
```
Error deploying config to Solana network. TypeError: src.toArrayLike is not a function…
-
-
Building, `borsh` with not `std` fails, due to lack of `alloc`
```shell
> cargo build --no-default-features
error: cannot find macro `vec` in this scope
--> borsh/src/de/mod.rs:283:30
…
-
I have a project with dependencies as
```
"devDependencies": {
"@types/bs58": "^4.0.1",
"@types/buffers": "^0.1.31",
"@types/chai": "^4.3.0",
"@types/express": "^4.17.13",
…
-
Thank you for the great project!
I wanted to create an enum which had a `Vec` as a parameter:
```
from borsh_construct import Enum, Vec, U8
EnumWithVec = Enum(
"VecTag" / Vec(U8),
enum_n…
-
As you can see following code, I've use custom struct as Parameter.
It has no any issue in build. but if I try to test, it is shows error message.
IdlError: Type not found: {"type":{"defined":"Can…