Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

multinode-demo/fullnode.sh: Add --poll-for-new-genesis-block flag #3431

Merged
merged 1 commit into from
Mar 22, 2019

Conversation

mvines
Copy link
Contributor

@mvines mvines commented Mar 22, 2019

A validator not managed by net/ connected to a testnet has no idea when the testnet ledger is recreated.

When then --poll-for-new-genesis-block flag is added, fullnode.sh does exactly that. Every minute it checks if the genesis block from its cluster entrypoint has changed and if so restarts with the new genesis block.

@mvines mvines merged commit 4542a70 into solana-labs:master Mar 22, 2019
@mvines mvines deleted the poll branch March 22, 2019 07:15
wen-coding pushed a commit to wen-coding/solana that referenced this pull request Nov 14, 2024
* spl: Bump to newest SPL crates for v2.1 release

#### Problem

A lot of builds are currently broken due to the incompatibility between
v2.0 and v2.1. All of the SPL crates have been bumped to use the Solana
v2.1 crates, but it isn't being used in the monorepo.

#### Summary of changes

Bump the SPL crates to their newest versions, and correctly parse the
new token-2022 instructions and account types.

The trickiest changes are the confidential transfer / mint / burn
instruction parsing, otherwise the changes are straightforward.

* Address feedback

* Improve parsing logic per discussion

* Parse initialize instructions correctly

* Add comments for parsing

* Improve account labels

* Update lockfile from rebase
joncinque added a commit to joncinque/solana that referenced this pull request Nov 25, 2024
#### Problem

The new parsers for the confidential transfer extensions in solana-labs#3431 don't
have any tests, which is dangerous because they involve indexing
directly into arrays, which can panic at runtime.

#### Summary of changes

Add tests for all the instructions involving proofs, which have the more
complicated parsing logic. Specifically, it's testing to make sure that
nothing panics.

These tests actually uncovered a bug that triggered a panic for
instructions with just barely enough accounts and also the instructions
sysvar.
KirillLykov pushed a commit to KirillLykov/solana that referenced this pull request Nov 26, 2024
#### Problem

The new parsers for the confidential transfer extensions in solana-labs#3431 don't
have any tests, which is dangerous because they involve indexing
directly into arrays, which can panic at runtime.

#### Summary of changes

Add tests for all the instructions involving proofs, which have the more
complicated parsing logic. Specifically, it's testing to make sure that
nothing panics.

These tests actually uncovered a bug that triggered a panic for
instructions with just barely enough accounts and also the instructions
sysvar.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant