Skip to content

Commit

Permalink
regenerate IDLs
Browse files Browse the repository at this point in the history
  • Loading branch information
lthiery committed Jan 9, 2024
1 parent 4037ad1 commit 7f24a12
Show file tree
Hide file tree
Showing 14 changed files with 587 additions and 689 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ The files in the `idl` directory are output from build `helium-program-library`.

With `anchor-cli 0.26`, run `anchor build` in the `helium-program-library`. The output from `target/idl` may be copied over to the `idl` directory here.

## Installing anchor-cli 0.26

```
sh -c "$(curl -sSfL https://release.solana.com/v1.17.15/install)"
ln -s ~/.local/share/solana/install/active_release/bin/cargo-build-bpf ~/.cargo/bin/
ln -s ~/.local/share/solana/install/active_release/bin/cargo-build-sbf ~/.cargo/bin/
rustup toolchain install 1.70
cargo +1.70-x86_64-unknown-linux-gnu install --bin anchor --git https://github.com/coral-xyz/anchor --tag v0.26.0 anchor-cli --force
```

## Other notes

The crates under `programs` exist to generate the CPI crates. Do not add code there!
Expand Down
2 changes: 1 addition & 1 deletion idl/circuit_breaker.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.1",
"version": "0.1.0",
"name": "circuit_breaker",
"instructions": [
{
Expand Down
2 changes: 1 addition & 1 deletion idl/data_credits.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.1.2",
"version": "0.2.0",
"name": "data_credits",
"instructions": [
{
Expand Down
7 changes: 1 addition & 6 deletions idl/fanout.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.0.1",
"version": "0.1.0",
"name": "fanout",
"instructions": [
{
Expand Down Expand Up @@ -408,11 +408,6 @@
"name": "tokenMetadataProgram",
"isMut": false,
"isSigner": false
},
{
"name": "rent",
"isMut": false,
"isSigner": false
}
],
"args": [
Expand Down
Loading

0 comments on commit 7f24a12

Please sign in to comment.