Alitas Bi-Monthly Report
(July 1 — August 31, 2023)

Alitas
2 min readSep 20, 2023
Bi — Monthly Report of Alitas

Technology Development:

1. cleanup: allow_votes_to_directly_update_vote_state and compact_vote_state_updates, allocate more threads for test_star_network_push_star_200 and test_star_network_push_ring_200 when test.

2. Cleanup BankForks access code in ShredFetchStage. BankForks is not an optional argument, so remove dated comment. Given that BankForks is always present, no need for special values to initialize variables before the loop.

3. Root slot can be retrieved from root bank, no need to call BankForks::root() which will load the underlying atomic a second time. Use BankForks::highest_slot() instead of .slot() on .working_bank() to avoid the extra clone that .working_bank() performs. Move several operations outside of BankForks read lock scope to minimize lock time.

4. bpf_loader: cpi: pass SerializeAccountMetadata to CallerAccount::from. We now have a way to provide CallerAccount with trusted values coming from our internal serialization code and not from untrusted vm space.

5. bpf_loader: direct_mapping: enforce account info pointers to be immutable. When direct mapping is enabled, we might need to update account data memory regions across CPI calls. Since the only way we currently have to retrieve the regions is based on their vm addresses, we enforce vm addresses to be stable. Accounts can still be mutated and resized of course, but it must be done in place.

6. direct mapping: improve memory permission tracking across CPI calls. Ensure that the data and realloc regions of an account always track the account’s permissions. In order to do this, we also need to split realloc regions in their own self contained regions, where before we had.

7. cpi: fix slow edge case zeroing extra account capacity after shrinking an account. When returning from CPI we need to zero all the account memory up to the original length only if we know we’re potentially dealing with uninitialized memory.

Community Development:

1. Shared Alitas information through infographic tweets.

2. Released the July 2023 Monthly Report of the Alitas.

🌀Website: https://alitas.tech/#line
🌀Twitter: https://twitter.com/AlitasTech
🌀Telegram: https://t.me/Alitastech

--

--

Alitas

Alitas is the underlying infrastructure of a new generation of value networks Contract address on #BSC: 0x5Ca09af27b8a4F1D636380909087536BC7e2D94D