Skip to content

Make checkpoints maps static; update checkpoints#1914

Merged
ImplOfAnImpl merged 2 commits into
masterfrom
make_checkpoints_static
May 5, 2025
Merged

Make checkpoints maps static; update checkpoints#1914
ImplOfAnImpl merged 2 commits into
masterfrom
make_checkpoints_static

Conversation

@ImplOfAnImpl

Copy link
Copy Markdown
Contributor

Maps that hold checkpoints data are now lazy_static, to prevent them from being constructed every time a ChainConfig is constructed (which happens e.g. every time a function from wasm bindings is called).

I also updates the checkpoints themselves to the latest values.

Comment thread common/src/chain/config/checkpoints.rs Outdated
Base automatically changed from wasm_bindings_error_cleanup to master May 5, 2025 12:03
@ImplOfAnImpl ImplOfAnImpl force-pushed the make_checkpoints_static branch from 98852ea to a082197 Compare May 5, 2025 12:36
@ImplOfAnImpl ImplOfAnImpl merged commit 7d8eb6d into master May 5, 2025
18 checks passed
@ImplOfAnImpl ImplOfAnImpl deleted the make_checkpoints_static branch May 5, 2025 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants