Commit Graph

130 Commits

Author SHA1 Message Date
Jon Cinque d01730a7aa
deps: Upgrade base64 to 0.21.0, remove where it's not used (#4204) 2023-05-08 16:10:57 +00:00
dependabot[bot] 733f4044d1
build(deps): bump proptest from 1.0.0 to 1.1.0 (#4184)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-05 20:53:57 +00:00
Jon Cinque 34b57d62fe
docs: Clarify audit status of all programs, no S word (#4046) 2023-02-13 22:05:49 +00:00
dependabot[bot] 4da4314b59
build(deps): bump bytemuck from 1.12.1 to 1.13.0 (#4027)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 20:27:18 +01:00
joeaba 891b4bdad8
chore: update maintainer references (#4008) 2023-01-31 08:06:36 -05:00
Jon Cinque 88684d52a2
ci: Update repo to Solana 1.14.12 (#3989) 2023-01-19 21:47:03 +01:00
Jon Cinque ae994afa3e
Update repo to `edition = "2021"` (#3900) 2022-12-13 23:46:26 +01:00
samkim-crypto bb404a6af5
update solana to 1.14.10 (#3872) 2022-12-06 12:59:00 +09:00
samkim-crypto 0c8fb24d47
upgrade solana-program to 1.14.6 (#3765) 2022-10-27 07:59:25 +09:00
hanako mumei 3a87c8fc0a update solana to 1.14.4 2022-10-12 10:48:23 -07:00
Jon Cinque f97a3dc7cf
clippy: Deny integer arithmetic, add allows where needed (#3606) 2022-09-15 13:16:53 +02:00
hana 65769ce23d
Update rust to 1.60, solana to 1.11.6 (#3492)
also change bpf to sbf throughout the codebase

Co-authored-by: Jon Cinque <jon.cinque@gmail.com>
2022-08-18 12:16:02 -07:00
Justin Malčić 8d88fb6c88
Add slippage constraint to borrow instruction (#3423)
* Add slippage limit to instruction

* Add slippage error

* Return error if below slippage limit

* Add tests

* Remove TODO

* Split instruction

* Fix test name

* Test limit case

* Update test

* Revert "Split instruction"

This reverts commit 3eba4942bd51f2402bf112edb514882636f0e401.

# Conflicts:
#	token-lending/program/tests/borrow_obligation_liquidity.rs

* Allow missing slippage_limit

* Fix limits

* Remove assertion
2022-08-17 15:58:04 +02:00
Tyera Eulberg 3c54aecfe9
Bump solana to v1.10.35 (#3485) 2022-08-16 12:33:24 -06:00
Tyera Eulberg 7c6235d9e7
Bump token to v3.5.0 and ata to v1.1.1 (#3430) 2022-08-04 01:09:38 -06:00
Jon Cinque f5ce86d43d
token/ata: Bump versions to 3.4.0 and 1.1.0, respectively (#3427) 2022-08-04 01:03:04 +02:00
throwbackjams 5d8cb5588b
lending: Add instruction for changing reserve configuration after initialization (#3349)
* lending: Add instruction for configuring reserve params

* lending: (fix) remove duplicate import in modify_reserve_config test

* modify_reserve_config: refactor pack and unpack of ReserveConfig into helper func; refactor validate_reserve_config as method; refine tests
2022-08-02 16:56:33 +02:00
Tyera Eulberg c00194d225
Bump solana crates to v1.10.33 (#3385) 2022-07-27 11:28:14 -06:00
Jon Cinque c1ee6a58be
Update Solana crates to 1.10.29 (#3303) 2022-07-01 16:51:01 -04:00
samkim-crypto 0f316fb357
bump solana to v1.10.26 (#3274) 2022-06-20 09:55:49 +09:00
samkim-crypto 424c900345
bump solana to v1.10.19 (#3195)
* bump solana to v1.10.19

* update solana-version.sh
2022-05-25 08:40:30 +09:00
Dmitri Makarov 791cc8a776
Use target_os instead of target_arch for Solana conditional compilation (#3148) 2022-05-17 12:25:24 -07:00
Dmitri Makarov f1c1d440e9
Bump solana to v1.10.15 (#3176) 2022-05-17 11:27:30 -07:00
Jon Cinque 895747f29f
token-lending: Bump / set / pin versions for 0.2.0 crates (#3157) 2022-05-12 00:27:02 +02:00
Jon Cinque 9ef3fd819f
token-lending: Add version to spl-token dependency (#3137) 2022-05-04 13:03:34 +02:00
Jon Cinque 7d2048bd1c
token-lending: Fix maximum withdrawal value calculation (#3138) 2022-05-04 13:02:50 +02:00
Tyera Eulberg b3fe5b6d5d
Bump token-2022 (#3113)
* Bump token-2022

* Bump solana dependencies
2022-04-26 12:15:26 -06:00
Jon Cinque 1d1c2b178b
Upgrade crates to 1.10.8 (#3076) 2022-04-11 22:25:27 +02:00
Tyera Eulberg f4c5fdcfcf
Bump solana to v1.9.9 (#2902) 2022-02-23 16:20:55 -07:00
Tyera Eulberg 83c3ffad25
Bump solana crates to v1.9.5 (#2780)
* Bump solana crates to v1.9.5

* Update sol_set_return_data type signature and un-ignore test
2022-01-21 22:52:10 -07:00
Michał Piotrowski b6bafc7a64
token lending tests p1 (#2719) 2022-01-19 21:05:41 +01:00
Dmitri Makarov 48f31d5d0e
Increase compute budget limits in a test affected by new mem op cost (#2680) 2021-12-29 17:49:19 -08:00
Jon Cinque 6ee008d256
Update SDK to 1.9.2, fix warnings (#2674)
* Update SDK to 1.9.2, fix warnings

* Upgrade honggfuzz

* Use `get_latest_blockhash` correctly
2021-12-28 23:02:47 -05:00
Dmitri Makarov 4e73dad461
Increase compute limit in another test (#2658) 2021-12-21 16:09:21 -08:00
Jordan Sexton 0b8961597b
lending: validate pyth price trading status (#2618) 2021-12-04 17:59:20 -06:00
Jordan Sexton c2b287788b
lending: handle rounding consistently (#1883)
* handle rounding consistently

* remove unused method

* slightly increase test compute limits

* reuse existing decimal functions
2021-12-03 17:13:21 -06:00
Michael Vines 9acb082dc3 Upgrade to Solana v1.8.1 2021-10-20 22:52:19 -07:00
Michael Vines 12732f8d5a Upgrade to Solana 1.8.0 2021-10-12 09:40:06 -07:00
Jordan Sexton 23c487dd9c lending: add extra owner check 2021-09-01 10:04:00 -05:00
Michael Vines 4406265d4a Upgrade to Solana 1.7.11 2021-08-30 12:41:08 -07:00
ilja fd662e5f87
token lending - bug fixes and flash loan receiver (#2287)
* token lending - bug fixes and flash loan receiver

* fixed fmt, clippy, and test

* fixed iports
2021-08-18 15:59:32 -05:00
Jordan Sexton 81586e7b5d
lending: remove unnecessary PDA (#2212) 2021-08-09 13:33:03 -05:00
Tyera Eulberg 30fccebdc6
Bump solana crates (#2139) 2021-07-23 16:47:06 +00:00
dependabot[bot] 6047df7296
build(deps): bump bytemuck from 1.7.0 to 1.7.2 (#2135)
Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.7.0 to 1.7.2.
- [Release notes](https://github.com/Lokathor/bytemuck/releases)
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md)
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.7.0...v1.7.2)

---
updated-dependencies:
- dependency-name: bytemuck
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-23 11:15:39 +00:00
dependabot[bot] bcbed37fab
build(deps): bump bytemuck from 1.5.1 to 1.7.0 (#2025)
Bumps [bytemuck](https://github.com/Lokathor/bytemuck) from 1.5.1 to 1.7.0.
- [Release notes](https://github.com/Lokathor/bytemuck/releases)
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md)
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.5.1...v1.7.0)

---
updated-dependencies:
- dependency-name: bytemuck
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-20 22:21:59 +00:00
Jack May 8e81f5bab8
Bump token-lending test caps (#2094) 2021-07-15 15:09:35 -07:00
Jon Cinque d1827f5c93
token-js: Use `flow check-contents` to not trip on others' issues (#2088)
* token-js: Use `flow check-contents` to not trip on others' issues

* lending: Bump compute budget on init test
2021-07-15 03:38:47 +02:00
Tyera Eulberg 0acc8c8bad
Bump solana and borsh crates (#2015) 2021-07-02 16:53:41 +00:00
Jordan Sexton ba0c0e007f
lending: js fixes (#2012) 2021-07-01 21:04:54 -05:00
dependabot[bot] 99654e0ad8
build(deps): bump uint from 0.8.5 to 0.9.1 (#2006)
Bumps [uint](https://github.com/paritytech/parity-common) from 0.8.5 to 0.9.1.
- [Release notes](https://github.com/paritytech/parity-common/releases)
- [Commits](https://github.com/paritytech/parity-common/compare/uint-v0.8.5...uint-v0.9.1)

---
updated-dependencies:
- dependency-name: uint
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-01 11:31:18 +00:00