Armani Ferrante
937e26da94
travis: Cargo build worksace in CI ( #50 )
2020-11-24 12:01:03 -08:00
Armani Ferrante
a166569c4b
Remove serum-pool-client crate ( #49 )
2020-11-24 11:03:41 -08:00
Armani Ferrante
c908b890ac
Pool wip ( #48 )
...
* pool protocol WIP
* remove cruft, update gitignore
* Add draft pool schema and optimized retbuf implementation
* Checkpoint pool stuff
* Add test pool client
* Move pool-client to pool/client and add to workspace
* Switch from capnproto to borsh
* Move pool-schema to pool/schema
* Update client to use new schema, fix deserialization
* Simplify schema
* Update request format
* Add pool traits
* Pool WIP
* Finish merging
* Be explicit about evaluation order
* Plug the Pool trait into PoolProcessor
* Document the current state of pools
* pool: Implementable by registry
* pool: Use token account mint on init
* pool: Remove unecessary lifetimes
* Provide default create/redeem implementations
* Use the shmem param
* pool: Fix rounding, add error logging
* pool: Don't require setting delegate on accounts from which funds will not be pulled
* pool: Add simple pool program
* pool: Rename Trasact to Execute
* pool: Add a name field to PoolState
* Bump solana-sdk and remove feature to fix build
Co-authored-by: Sebastian Conybeare <sebastian@alameda-research.com>
Co-authored-by: Sebastian Conybeare <sebastian@projectserum.com>
Co-authored-by: Gary Wang <gary@garywang.net>
2020-11-24 00:29:28 -08:00
Sebastian Conybeare
991a86e93c
Alignment-independent account data ( #47 )
...
* Port Dex to solana-program 1.4.4 and spl-token 3.0.0-pre1
* Use packed structs for on-chain state representation
Co-authored-by: Michael Vines <mvines@gmail.com>
Co-authored-by: Sebastian Conybeare <sebastian@projectserum.com>
2020-11-16 19:06:30 +08:00
armaniferrante
feebf9d3de
dex-fuzz: Update Solana SDK version
2020-10-31 11:02:45 -07:00
dafyddd
6da00d4719
Added no entrypoint feature ( #41 )
...
Co-authored-by: Dafydd Durairaj <dafydd.durairaj@gmail.com>
2020-10-30 22:44:22 +08:00
armaniferrante
be3fb60bac
assert-owner: Cargo fmt to fix build
2020-10-26 09:50:38 -07:00
Sebastian Conybeare
6138ca9828
Add assert-owner program
2020-10-26 18:27:47 +08:00
Michael Vines
5adf8799ae
Employ RpcSendTransactionConfig::default() for better forward compatibility ( #39 )
2020-10-23 11:58:56 -07:00
armaniferrante
29d2c84e17
travis: Fix node version
2020-10-20 12:45:25 -07:00
armaniferrante
96ac9f10eb
docs: Registry draft design
2020-10-13 14:59:06 -07:00
Gary Wang
16c79ee06b
Run cargo fix on crank
2020-10-12 22:43:49 -07:00
Gary Wang
05f4def2fd
Only use extra cranking workers if the number of pending events is too much for one worker
2020-10-12 22:43:49 -07:00
Gary Wang
1575d8d8a9
Don't retry cranking instructions, just wait for the next iteration
2020-10-12 22:36:04 -07:00
Armani Ferrante
fa3ac1f04f
lockup: Whitelist program-derived-addresses ( #27 )
2020-10-12 21:25:19 -07:00
Armani Ferrante
319c1b2ea2
lockup: CLI, whitelist, and relay transfers ( #23 )
2020-10-10 22:36:32 -07:00
Armani Ferrante
c3eab56384
Add simulate_transaction fn ( #25 )
2020-10-10 17:09:07 -07:00
Armani Ferrante
086e2219de
Registry CLI ( #22 )
2020-10-08 11:42:45 -07:00
Armani Ferrante
e65766dd00
Node scaffold ( #16 )
2020-10-08 11:32:23 -07:00
Armani Ferrante
50693e0a4c
Add badges and adjust readme headers ( #19 )
2020-10-03 17:50:42 -07:00
Armani Ferrante
a729020018
Add license ( #18 )
2020-10-03 10:33:06 -07:00
Armani Ferrante
43d1f8c44d
Node registry ( #15 )
2020-10-02 12:42:48 -07:00
Sam Schetterer
db82618863
cargo fmt
2020-09-29 13:21:23 +08:00
Sam Schetterer
77abc98f47
Better logging, don't cancel on exit
2020-09-29 13:00:32 +08:00
Armani Ferrante
a40952b950
Take solana programs out of workspace ( #13 )
2020-09-28 10:54:21 -07:00
Armani Ferrante
c884da206a
Merge pull request #5 from project-serum/armani/macro
...
Solana client proc macro and safe
2020-09-25 19:07:54 -07:00
armaniferrante
39fe274a99
Clippy changes
2020-09-25 19:04:25 -07:00
armaniferrante
f784fafee9
safe: Add README.md
2020-09-25 19:04:25 -07:00
armaniferrante
fa2cbea323
Replace the client-ext feature flag with an attribute arg
2020-09-25 19:04:25 -07:00
armaniferrante
34695c8a8a
safe: Import pack dependencies explicitly
2020-09-25 19:04:25 -07:00
armaniferrante
cade37335f
scg: Swap out coder for Pack trait for instructions
2020-09-25 19:04:25 -07:00
armaniferrante
0e354a5465
Move dex and crank into workspace
2020-09-25 19:04:25 -07:00
armaniferrante
4628704e51
dex: Cargo fmt
2020-09-25 19:04:25 -07:00
armaniferrante
d15ff58c09
scg: Go all in on Serde serializers
2020-09-25 19:04:25 -07:00
armaniferrante
8478ac0efa
Run common tests and cargo fmt in ci
2020-09-25 19:04:25 -07:00
armaniferrante
30c07036e4
Use safe unpack in test
2020-09-25 19:04:25 -07:00
armaniferrante
eb131ef2c5
safe: Change tests to use linear unlock function
2020-09-25 19:04:25 -07:00
armaniferrante
95bf25828a
safe: Assert vecs properly in tests
2020-09-25 19:04:25 -07:00
armaniferrante
5d250e9c74
Safe integration tests
2020-09-25 19:04:25 -07:00
armaniferrante
b46992597b
safe: Unpack updates
2020-09-25 19:04:25 -07:00
armaniferrante
1e01aa3cc7
safe: Use linear unlock function for Vesting accounts
2020-09-25 19:04:25 -07:00
armaniferrante
30174aefe3
Safe program and client
2020-09-25 19:04:25 -07:00
armaniferrante
75f36c4a49
common: Change unpack_unchecked api
2020-09-25 19:04:25 -07:00
armaniferrante
ce2e10d0e9
Add serum-common crate
2020-09-25 19:04:25 -07:00
armaniferrante
a7d338d839
Change create_account attr to use u64 for sizes
2020-09-24 19:59:46 -07:00
armaniferrante
20a4865e6a
Remove authors and add metadata
2020-09-23 23:42:43 -07:00
armaniferrante
198d5490bc
SCG: Satisfy clippy
2020-09-23 23:42:43 -07:00
armaniferrante
e9e185a6b0
Switch to common crate for serialization
2020-09-23 23:42:43 -07:00
armaniferrante
f5d85449ed
Solana-client-gen zero warnings
2020-09-23 23:42:42 -07:00
armaniferrante
d371e6c1ac
Metamacro for extending generated clients
2020-09-23 23:42:42 -07:00