Christian Kamm
fd997e2e2c
Cargo: Remove explicit workspace-inheritance feature use
...
solana-release cargo version was updated
2023-10-05 11:05:12 +02:00
Steve
f625284593
Update to solana 1.16.14 and anchor 0.28.0 ( #718 )
...
- Change fixed to be a git dependency (no more submodules!)
- Upgrade fixed to a version compatible with borsh 0.10
- Upgrade openbook-v2 dependency (for anchor compat)
- Move services from mango-feeds repo into bin/
- Update mango-feeds-connector
Co-authored-by: Christian Kamm <mail@ckamm.de>
Co-authored-by: Riordan Panayides <riordan@panayid.es>
2023-10-05 10:56:45 +02:00
Christian Kamm
1afcff5dc2
Changelog and version bump for v0.20.0 ( #739 )
2023-10-04 09:18:57 +02:00
Christian Kamm
ea7fae4687
Changelog, version bump for program v0.19.1
2023-10-02 19:54:09 +02:00
Christian Kamm
6e2363c86f
Improve CU benchmarks ( #690 )
2023-08-24 16:33:08 +02:00
Christian Kamm
3480b62945
Changelog and version bump for program v0.19.0 ( #683 )
2023-08-18 15:38:28 +02:00
galactus
6461743f35
Openbook v2 integration: instructions and accounts ( #628 )
2023-07-11 09:59:50 +02:00
Christian Kamm
3867d902d2
Bump program version to v0.18.0
2023-07-04 11:10:31 +02:00
Christian Kamm
cc4a39850a
Bump version and idl to v0.17.1
2023-07-04 11:08:59 +02:00
Christian Kamm
1cc77af7fa
Bump version to 0.17.0, changelog updates, idl update
2023-05-31 09:11:56 +02:00
Maximilian Schneider
0b22e41acd
manage dependencies in workspace ( #588 )
...
* move important dependencies to workspace
* enable workspace inheritance
2023-05-17 20:48:14 +02:00
Christian Kamm
5a05e9cb2e
Update anchor to v0.27.0, stop using submodule ( #582 )
2023-05-12 13:54:53 +02:00
Christian Kamm
9429d3991d
Bump program version to v0.16.0 and add deploy info
2023-05-11 13:46:43 +02:00
Christian Kamm
2205fe7260
Changelog for program v0.15.0, version bump, idl update ( #577 )
2023-05-08 08:13:50 +02:00
microwavedcola1
fa5b39adad
bump version for next release
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2023-04-14 16:59:02 +02:00
Christian Kamm
61a4f62ea4
Bump program version to v0.13.0 and update idl
2023-04-13 09:53:15 +02:00
Christian Kamm
74f7282d4e
Bump program version to v0.12.0 and update idl
2023-04-13 09:46:58 +02:00
Christian Kamm
535b0b2d0c
Changelog for program-v0.11.0, bump version, update idl
2023-03-31 18:47:34 +02:00
Christian Kamm
7c02075c80
Bump program version to v0.10.0
2023-03-21 12:51:21 +01:00
Christian Kamm
0349ace3b6
Downgrade the `fixed` crate to v1.11.0 ( #500 )
2023-03-12 08:50:42 +01:00
Christian Kamm
c7dd6cd9e3
Bump program version to v0.9.0
2023-03-12 08:19:05 +01:00
Christian Kamm
5c7a2e3e10
Use the overflow-checks=true equivalent with the fixed crate ( #476 )
...
* Vendor `fixed` crate to have checked math in release mode
* remove all cm!()
* drop superfluous parens
* drop use of checked_math crate
* manual removal of redundant checked_* functions
2023-02-24 11:56:33 +01:00
Christian Kamm
cfcda705e6
Bump program version to v0.8.0
2023-02-22 14:49:18 +01:00
Christian Kamm
8916c28b99
License: Mark instructions GPLv3 and everything else MIT ( #454 )
...
To do that, split up the Accounts objects and the instruction
implementations.
GPL code is only used when the "enable-gpl" feature is enabled. That
means compiling the program or running tests need explicit feature
activation now.
2023-02-15 08:42:07 +01:00
Christian Kamm
30a84ce6c0
Bump to program version to v0.7.0
2023-02-14 16:09:53 +01:00
Maximilian Schneider
4c9490f004
update serum to most recent openbook version ( #437 )
2023-02-05 10:26:04 +09:00
Christian Kamm
40696f40a1
Bump program version to 0.6.0
2023-02-02 10:54:54 +01:00
Christian Kamm
1224fa4297
Bump program version to v0.5.0
2023-01-24 10:24:50 +01:00
Christian Kamm
71b13efc95
Bump program version to v0.4.0
2023-01-17 15:01:04 +01:00
Christian Kamm
15b9b911d1
Bump program version to 0.3.0
2023-01-13 11:38:56 +01:00
Christian Kamm
c238ed4f28
Bump version to v0.2.0
2023-01-13 11:25:08 +01:00
Christian Kamm
bda8cb9387
v0.1.2 version bump and changelog ( #383 )
2023-01-13 10:36:47 +01:00
silas
15784ecd2b
add security policy and on-chain metadata ( #361 )
...
* add security-txt macro
* minor fmt fix
2023-01-04 18:13:29 +00:00
Christian Kamm
0ed7175341
Upgrade to solana ~1.14.9
...
- Update anchor submodule
- Fork and submodule switchboard-v2 package to update dep
2022-12-13 17:00:57 +01:00
Christian Kamm
ec41fe4413
Don't compile the margin-trade fixture all the time
2022-12-08 20:48:44 +01:00
Christian Kamm
57e4510b08
Remove mango-macro
2022-12-08 20:48:44 +01:00
Christian Kamm
375b2b3fb3
Use bytemuck::Pod derives to check for accidental padding ( #317 )
2022-12-06 09:25:43 +01:00
Christian Kamm
f236a0521a
Fast I80F48 division with reduced precision ( #300 )
2022-11-24 11:59:00 +01:00
riordanp
5d780a86dc
Upgrade to Solana 1.10.35 ( #291 )
...
* 1.10.35 upgrade & compatibility
* Patch Anchor
* Fix test compile
* Serum program update
Co-authored-by: Christian Kamm <mail@ckamm.de>
2022-11-16 10:50:40 +00:00
Christian Kamm
c9fb4c7133
Tests: Fix program log capture
2022-08-24 10:07:45 +02:00
Christian Kamm
18857c7b72
Add "client" feature annoations
2022-08-15 10:48:43 +02:00
Christian Kamm
a3067e2448
Avoid custom Debug impls by using derivative crate
2022-08-13 10:18:04 +02:00
microwavedcola1
c516e45d08
mc/review reserved on accounts ( #130 )
...
* review and extend reserved on accounts
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* revert changes to node size, stack gets smashed in rust unit tests
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* max possible
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* max
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* header version
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fix from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fixes from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* fix from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-08-01 16:53:30 +02:00
microwavedcola1
f2bfb951fd
anchor as submodule ( #121 )
...
* anchor as submodule
* Use anchor submodule as dependency
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Co-authored-by: Christian Kamm <mail@ckamm.de>
2022-07-27 08:52:41 +02:00
microwavedcola1
2fb92abad8
Mc/ts upgrade ( #122 )
...
* upgrade anchor fork, supports anchor idl close now
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* upgrade ts deps
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-07-26 17:14:07 +02:00
microwavedcola1
0b2e1e6e6c
Mc/realloc 4 ( #119 )
...
Realloc + dynamic mango account
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
Co-authored-by: Christian Kamm <mail@ckamm.de>
2022-07-25 16:07:53 +02:00
Christian Kamm
ea85824ccb
Remove code copied from solana-address-lookup-table-program
...
This removes the ProgramInstruction enum from the IDL, which was unused
and could break clients.
2022-07-21 06:49:04 +02:00
microwavedcola1
3eae2cdc34
upgrade anchor to latest, upgrade solana dependencies to match what latest anchor uses
...
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-07-20 15:51:10 +02:00
Nicholas Clarke
f8da1f6a40
Clarkeni/logging ( #81 )
...
* Add logging
* Added new_fixed_order_account_retriever to allow us to more easily access oracle prices outside of health calculations for logging purposes
* Add token balances logging to token and token liquidation and add logging to margin trade
* rust format
* fix clippy errors
* Address PR requested changes
* fix flash_loan
* Recalculate raw_token_index in token withdraw to account for position becoming inactive
* Fix retrieving oracle for logging
in get_mut_or_create(), return the raw index into the account's token
positions as well as the index into active positions only. The latter
index is useful for indexing into banks in the health account list.
* Add logging flash_loan2 and flash_loan3
* Refactoring flash loan logging
Co-authored-by: Christian Kamm <mail@ckamm.de>
2022-06-30 14:35:05 +02:00
microwavedcola1
0f34851c64
switchboard support ( #67 )
...
* switchboard support
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
* Fix from review
Signed-off-by: microwavedcola1 <microwavedcola@gmail.com>
2022-06-18 16:38:46 +02:00