Commit Graph

983 Commits

Author SHA1 Message Date
Nicholas 9e546f52d9 Remove tests. When BPF SDK: /home/clarkeni/.local/share/solana/install/releases/1.10.29/solana-release/bin/sdk/bpf
cargo-build-bpf child: rustup toolchain list -v
cargo-build-bpf child: cargo +bpf build --target bpfel-unknown-unknown --release
cargo-build-bpf child: /home/clarkeni/.local/share/solana/install/releases/1.10.29/solana-release/bin/sdk/bpf/scripts/strip.sh /home/clarkeni/code/mango-v4/target/bpfel-unknown-unknown/release/mango_v4.so /home/clarkeni/code/mango-v4/target/deploy/mango_v4.so
cargo-build-bpf child: /home/clarkeni/.local/share/solana/install/releases/1.10.29/solana-release/bin/sdk/bpf/dependencies/bpf-tools/llvm/bin/llvm-readelf --dyn-symbols /home/clarkeni/code/mango-v4/target/deploy/mango_v4.so

To deploy this program:
  $ solana program deploy /home/clarkeni/code/mango-v4/target/deploy/mango_v4.so
The program address will default to this keypair (override with --program-id):
  /home/clarkeni/code/mango-v4/target/deploy/mango_v4-keypair.json is ran with anchor as a submodule it incorrectly tries to run all submodule tests as well
2022-08-06 00:01:44 -07:00
Christian Kamm b52f236146 Implement Discriminator trait for generated instructions
Access to the discriminators is useful when doing instruction
introspection where you may want to determine the type of other
instructions for your program.
2022-08-05 20:24:53 +02:00
Christian Kamm 2058b6461c Client: Support sending via nonblocking RpcClient 2022-08-04 10:11:13 +02:00
Christian Kamm 442c00634e Drop root Cargo.toml to make usable as a submodule 2022-07-27 08:39:44 +02:00
microwavedcola1 d102903441 close idl account
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-07-26 11:52:48 +02:00
Christian Kamm 1153380487 Support for AccountLoaderDynamic 2022-07-25 07:58:57 +02:00
Christian Kamm e5cb5ca747 Simulate: Don't require wallet signature 2022-07-23 19:17:56 +02:00
Christian Kamm 0f38d3b7c2 Don't regenerate idl in read_all_programs() 2022-07-23 19:17:35 +02:00
Armani Ferrante 6baed77eb5
v0.25.0 (#2031) 2022-07-05 16:32:55 -04:00
Matthew Callens c47fb2877e
lang: adjust `realloc` implementation to safeguard max increase and idempotency (#1986) 2022-07-05 15:54:40 -04:00
Armani Ferrante 9b61bbc626
bump solana-program version (#2027) 2022-07-04 23:58:31 -04:00
Drew Nutter 24ab7d3e84
add skip-lint to Anchor.toml (#2026) 2022-07-04 12:12:50 -04:00
dependabot[bot] e90f6888b0
build(deps): bump cross-fetch in /docs/programs/tic-tac-toe (#2024) 2022-07-03 10:47:19 -04:00
dependabot[bot] 5e07a34ee6
build(deps): bump minimist in /docs/programs/tic-tac-toe (#2025) 2022-07-03 10:46:37 -04:00
Kevin Rodríguez 8a6a9e1c75
ts: fix Module needs an import assertion of type json (#2023) 2022-07-03 10:43:32 -04:00
Matthew Callens 85847445b3
fix changelog entry to be breaking (#2022) 2022-07-02 11:17:02 -04:00
Matthew Callens e67c50f914
ts: convert `EventParser.parseLogs` to a generator function (#2018) 2022-07-01 23:29:19 -04:00
Matthew Callens 2ad00678b6
ts: add `accountsStrict` for non-resolvable accounts input (#2019) 2022-07-01 18:26:09 -04:00
Matthew Callens f76112a41a
add account name to discriminator mismatch errors (#2020) 2022-07-01 18:25:18 -04:00
Jesse Eisses df9627e952
update docs on format of method dispatch identifier (#2017) 2022-06-30 09:36:38 -04:00
Italo Casas a1bb494631
docs meta tags and registry url (#2010) 2022-06-28 18:01:14 -04:00
Armani Ferrante e4dfd34dc5
docs: add security section (#2003) 2022-06-25 10:30:17 -04:00
Italo Casas 3cc3d85fa4
docs: fix typos (#2002) 2022-06-25 10:30:04 -04:00
Italo Casas e606e5a072
docs improvements (#2001) 2022-06-25 09:56:20 -04:00
Matthew Callens fcc7addc66
add theme color for logo text (#2000) 2022-06-24 22:06:56 -04:00
Italo Casas 615fa457f3
new docs (#1999) 2022-06-24 14:56:29 -04:00
Sohrab 55e0c5d9dd
fix: align links to coral-xyz/anchor github repo (#1988) 2022-06-19 22:16:16 -04:00
Armani Ferrante 1ec9af7e21
Revert "lang: add `realloc` constraint group (#1943)" (#1984)
This reverts commit 7fe39c61ad.
2022-06-17 17:16:10 -04:00
cavemanloverboy 6984260330
Minor fix (#1976) 2022-06-16 09:47:44 -04:00
Armani Ferrante 146fa0fac2
readme: change anchor logo (#1973) 2022-06-15 15:49:14 -04:00
Matthew Callens 179711bacc
ts: verbose error for missing `ANCHOR_WALLET` in `NodeWallet.local()` (#1958) 2022-06-10 09:54:06 -04:00
Anoushk Kharangate 8f7572e8af
ts: add alternative to rpc deprecated comments (#1832) 2022-06-09 12:16:07 -04:00
Tom Linton c14668d6ef
cli: Improve Anchor workspace name validation (#1949) 2022-06-06 20:21:10 -04:00
Krešimir Klas 37c5ff4c6d
lang: strip Box when parsing idl types (#1947) 2022-06-04 20:34:47 -04:00
Matthew Callens 7fe39c61ad
lang: add `realloc` constraint group (#1943) 2022-06-04 20:25:28 -04:00
Krešimir Klas 3b0d73ed7a
syn: remove unused instruction_constraints field from Field (#1946) 2022-06-04 09:42:52 -04:00
Daniel Marin a5dbc7b850
ts: setup associated token program idl (#1939) 2022-06-01 14:51:44 -04:00
sushi-shi 58db41bb35
cli: Allow passing arguments to a script (#1914) 2022-05-29 23:24:45 +02:00
Vladimir Guguiev d83fcbf7bc
ts: Add program.coder.types for encoding/decoding user-defined types (#1931) 2022-05-29 22:39:45 +02:00
Sammy b993854767
client: Add send w/ spinner and options (#1926) 2022-05-29 22:31:38 +02:00
dboures f9c42f104b
ts: remove .rollup.cache when publishing npm package (#1919) 2022-05-26 17:17:57 +02:00
Daniel Marin 707ebf26e7
feat: Setup a coder for SystemProgram (#1920) 2022-05-26 13:03:44 +02:00
Sohrab f866d073db
fix(ts/idl): export all IDL types (#1918) 2022-05-25 14:15:18 +02:00
Krešimir Klas d3e9b5f05d
ts: add docs field to IdlAccoutDef and IdlTypeDef types (#1915) 2022-05-22 10:07:17 +02:00
Charlie You 90bbc8b6be
ts: Add tx signature to EventCallback (#1851) 2022-05-17 11:24:16 -04:00
mkrs 1490d5f129
spa: adds update metadata instruction cpi wrapper (#1897) 2022-05-16 12:27:02 -04:00
Armani Ferrante ef178e5217
token metadata and accounts resolver update (#1896) 2022-05-15 18:28:11 -04:00
Justin Starry 61ded073f4
client: fill config structs with defaults to avoid compatibility issues (#1895) 2022-05-15 10:28:36 -04:00
Armani Ferrante 59c2dbb712
update CHANGELOG.md (#1869) 2022-05-04 11:08:36 -04:00
Aximili 8ddc9f25a6
ts: Fix browser detection (#1233) 2022-05-04 11:06:09 -04:00