solana/storage-proto
Tao Zhu 3e500d9e92
Feature gate builtin consumes static units during processing instruction (#30702)
* add feature gate
* builtins consume statically defined units at beginning of process_instruction()
* Add new instructionError; return error if builtin did not consume units to enforce builtin to consume units;
* updated related tests
* updated ProgramTest with deactivated native_programs_consume_cu feature to continue support existing mock/test programs that do not consume units
2023-03-24 11:31:01 -05:00
..
proto Feature gate builtin consumes static units during processing instruction (#30702) 2023-03-24 11:31:01 -05:00
src Feature gate builtin consumes static units during processing instruction (#30702) 2023-03-24 11:31:01 -05:00
Cargo.toml chore: workspace inheritance (#29893) 2023-02-23 22:01:54 +08:00
README.md storage-proto: Rework source generation 2021-07-10 19:51:38 -06:00
build.rs chore: bump enum-iterator from 0.8.1 to 1.2.0 (#27496) 2022-08-31 15:07:29 -06:00

README.md

Storage Protobufs

The solana-storage-proto structs used in src/convert.rs and elsewhere are auto-generated from protobuf definitions on build. To update these structs, simply make the desired edits to proto/*.proto files.