Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/buffalojoec/core-bpf-alt
Solana Address Lookup Table reimplemented in Core BPF.
https://github.com/buffalojoec/core-bpf-alt
Last synced: 27 days ago
JSON representation
Solana Address Lookup Table reimplemented in Core BPF.
- Host: GitHub
- URL: https://github.com/buffalojoec/core-bpf-alt
- Owner: buffalojoec
- Created: 2024-02-17T18:34:22.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-03-05T15:16:22.000Z (8 months ago)
- Last Synced: 2024-04-15T16:03:53.955Z (7 months ago)
- Language: Rust
- Size: 115 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Address Lookup Table Core BPF Implementation
This PR introduces the Address Lookup Table program reimplemented to Core BPF.
All Core BPF implementation notes prefixed with:
```
[Core BPF]:
```- `SlotHashes` sysvar replaced with `Clock`.
- `build.rs` and annotations in `lib.rs` are required for `solana-frozen-abi-macro`.
- `InstructionError::Immutable` has no `ProgramError` counterpart ([#35113](https://github.com/solana-labs/solana/pull/35113)).
- `InstructionError::IncorrectAuthority` has no `ProgramError` counterpart ([#35113](https://github.com/solana-labs/solana/pull/35113)).
- `solana-program-test` will not overwrite a built-in if the BPF program you've
provided shares the same address as an existing built-in ([#35233](https://github.com/solana-labs/solana/pull/35233)).