swimricky
9adc340f1d
feat(message-buffer): add .env.pythnet for message buffer init script ( #889 )
2023-06-14 08:03:02 -07:00
swimricky
91ccaee57c
[message-buffer] improve logging for setup message buffer script ( #872 )
...
* chore: better loggging for init script
* fix: change init-buffer script to use npx
2023-06-09 13:44:33 -07:00
Ali Behjati
183081cc20
Expose pythnet message buffer idls ( #865 )
2023-06-09 14:10:28 +02:00
swimricky
e670f57f89
feat(message-buffer): add init msg buffer pda to script, fix msg buffer pid ( #845 )
2023-05-26 11:37:06 -07:00
Ali Behjati
5a75653969
[message-buffer] Fix setup message buffer command ( #828 )
2023-05-23 09:30:52 -04:00
swimricky
c23fc8dbad
[message-buffer 17/x] separate payer from admin ( #819 )
...
* feat(message-buffer): add payer to all contexts requiring lamports for rent
separate admin from payer of account creation/resize/deletion
* test(message-buffer): add test for same admin & payer
* feat(message-buffer/scripts): keep payer & admin the same in init-buffer script for simplicity
2023-05-16 13:57:09 -04:00
swimricky
a115d88b09
[message-buffer 16/x] - integration repo scripts ( #818 )
...
* feat(message-buffer/scripts): add init-buffer script for integration repo
* feat(message-buffer/scripts): fix init-buffer scrtips
2023-05-16 12:33:45 -04:00
swimricky
f0888549d7
[message-buffer 15/x] - audit fixes ( #817 )
...
* fix(message-buffer): set payer as admin in initialize (TOB-PYTH-5)
* fix(message-buffer/delete_buffer): remove auth validation in delete_buffer & add test (TOB-PYTH-7)
* fix(message-buffer): fix non-security-related findings
use constant for seeds, cap max target size, add more tests
* refactor(message-buffer): use seed consts in initialize, remove unused errors
* refactor(message-buffer): address PR comments
refactor missed consts, make initialize more readable
2023-05-16 12:08:36 -04:00
swimricky
78d3c5c4ca
[message-buffer 14/x] - Message buffer/zero copy fixes ( #811 )
...
* test(message-buffer): add rust integration tests
add rust-toolchain.toml to pin rust version, add integration tests, update cpi caller auth seeds
* refactor(message-buffer): remove unused test ix
* chore(message-buffer): clean up
* refactor(message-buffer): simple refactor
* test(message-buffer): refactor integration test structure
* refactor(message-buffer): rename
* fix(message-buffer): fix min size check when shrinking msg buffer
* chore(message-buffer): cleanup
* fix(message-buffer): resize borrow bug fix
* test(message-buffer): refactor test util methods into MessageBufferTestContext for less duplication
* test(message-buffer): resolve merge conflicts from repo restructure
* chore(message-buffer): delete commented out code
* feat(message-buffer): use AccountLoader for zero-copy for resize/delete & put_all
* chore(message-buffer): clean up
* style(message-buffer): clean up
* fix(message-buffer): address PR feedback
revert to old put_all impl of using bytemuck for deserializing header, update tests add back old
check
* chore(message-buffer): clean up
2023-05-09 17:18:40 -04:00
swimricky
2e32a22725
[message-buffer 13/x] Rust Integration Tests ( #794 )
...
* test(message-buffer): add rust integration tests
add rust-toolchain.toml to pin rust version, add integration tests, update cpi caller auth seeds
* refactor(message-buffer): remove unused test ix
* chore(message-buffer): clean up
* refactor(message-buffer): simple refactor
* test(message-buffer): refactor integration test structure
* refactor(message-buffer): rename
* fix(message-buffer): fix min size check when shrinking msg buffer
* chore(message-buffer): cleanup
* fix(message-buffer): resize borrow bug fix
* test(message-buffer): refactor test util methods into MessageBufferTestContext for less duplication
* test(message-buffer): resolve merge conflicts from repo restructure
* chore(message-buffer): delete commented out code
2023-05-09 13:57:55 -04:00
Reisen
677343c339
pythnet: move `pyth/` from pythnet and colocate other pythnet libs ( #802 )
2023-05-04 18:47:35 +01:00