New features:
- Solido no longer requires that validators use a 100%-commission account of which Solido is the withdraw authority. Any vote account can now be used, as long as its commission does not exceed Solido’s configured maximum commission percentage.
Compatibility
- The
AddValidator
instruction is no longer supported and has been superseded byAddValidatorV2
. - The
WithdrawInactiveStake
instruction is no longer supported and has been superseded byUpdateStakeAccountBalance
. - The
CollectValidatorFee
instruction is no longer supported. - The
ClaimValidatorFee
instruction is no longer supported.
Released 2022-07-08.
The on-chain Solido program remains functionally unchanged since v1.0.0. The Anker program remains unchanged since v1.3.0.
Changes:
- Do not try to call
Anker::SendRewards
from the maintenance daemon.
Released 2022-05-04.
The on-chain Solido program remains functionally unchanged since v1.0.0. The Anker program remains unchanged since v1.3.0.
New features:
- Expose Anker TVL metrics in the maintainer Prometheus metrics.
Bugfixes:
- Make dependencies compatible with
cargo vendor
. In particular, this restores the ability to build the CLI with Nix'buildRustPackage
.
Released 2022-04-29.
The on-chain Solido program remains functionally unchanged since v1.0.0. The Anker program remains unchanged since v1.3.0.
New features:
- Expose Anker metrics in the maintainer Prometheus metrics.
Released 2022-04-14.
This release contains the final version of the Anker program, to be deployed on-chain. There are no functional changes to the on-chain Solido program in this release. The on-chain Solido program remains functionally unchanged since v1.0.0.
Compatibility:
- The data layout of the Anker instance has changed with respect to the previous release, which was a preview release of Anker.
New features:
- First stable version of the Anker program, and support in the
solido
CLI. - Add the APY daemon, which fetches the stSOL/SOL exchange rate from the chain and stores it in a SQLite database, to be able to compute APY over longer periods of time.
- Add a preview version of
solido.js
, a Typescript library to interact with Solido and Anker. This library is not yet stable.
Released 2022-01-11.
There are no functional changes to the on-chain Solido program in this release. The on-chain Solido program remains functionally unchanged since v1.0.0.
Compatibility:
- The interface of the Solido program remains unchanged.
- This version of the
solido
program is backwards compatible, only new options were added.
New features:
solido multisig show-transaction
now recognizes wLDO token transfers and will display them in a more readable manner.
Feature previews:
- Add the Anker program, which implements integration with the Anchor protocol on the Terra blockchain, and is responsible for minting bSOL.
- This release is an internal milestone intended to aid auditing.
- The
solido
CLI program gained ananker
subcommand for interacting with the Anker program.
Released 2021-10-06.
There are no changes to the on-chain program in this release, only to the
solido
CLI program. The on-chain program remains unchanged since v1.0.0.
Compatibility:
-
If you run
solido run-maintainer
and connect to a custom RPC endpoint with--cluster
, you need to ensure that your RPC node has account indexing enabled for the config program. This can be done by adding--account-index program-id --account-index-include-key Config1111111111111111111111111111111111111
to the
solana-validator
command line. This option is needed for the new validator name metrics. Without account indexing, thegetProgramAccounts
RPC call will likely time out.
New features:
-
Maintainers now have “maintainer duty” at different non-overlapping times, to reduce the probability of maintainers racing to perform the same update.
-
Active rebalancing: the maintainer can now unstake from validators, which helps to restore the stake balance quickly if new deposits alone are insufficient. This is especially useful after onboarding new validators.
-
The maintainer now waits until the last 5% of the epoch, before it performs staking and unstaking operations. This reduces maintenance fees, and can achieve a more uniform stake balance.
-
It is now possible to run
solido run-maintainer
even if--keypair
is not a member of the maintainer set. In this mode,solido run-maintainer
will never submit maintenance transactions, but it can still be used to export metrics to Prometheus. -
solido run-maintainer
now exposes more metrics:solido_maintainer_balance_sol
is now included for all maintainers, not just the one that the instance is running as.solido_withdraw_count_total
. We recorded this in the on-chain state already, but we never exposed the counter until now.solido_validator_last_voted_slot
solido_validator_last_voted_timestamp
solido_validator_identity_account_balance_sol
solido_validator_vote_credits_total
solido_solana_epoch
solido_solana_epoch_start_slot
solido_solana_slots_per_epoch
solido_solana_stake_sol
-
solido show-solido
now prints validator names and other metadata, in addition to the vote account address. The new validator metrics in/metrics
also include validator names. -
solido multisig show-transaction
now prints a diff forChangeMultisig
transactions.
Bugfixes:
- Previously, if
solido run-maintainer
failed to execute a maintenance transaction, metrics of the on-chain state would not be available even if they were fetched successfully. Now those metrics can be served even if a transaction fails. - The maintainer now waits for transactions to be confirmed before continuing, and preflights transactions against the lastest known state (even if unconfirmed).
solido multisig show-transaction
can now parse and displayChangeMultisig
transactions again. This had been broken since v0.5.0.
Released 2021-09-10.
Bugfixes:
- Fix to the maintainer logic so that it chooses the active validator that has the least amount of stake for the stake deposit, instead of that which is farthest from the target.
Released 2021-09-08.
Bugfixes:
- Fix an outdated version number and filename in
buildimage.sh
that caused it to fail. No changes to the on-chain program orsolido
.
Released 2021-09-08.
Compatibility:
- The
--validator-vote-account
option has been removed fromsolido run-maintainer
. Previously this was used to specify the validator to claim validation fees for, but now the maintenance bot will claim fees on behalf of all validators whenever possible.
New features:
solido
now supports--keypair
(andSOLIDO_KEYPAIR
when passed as environment variable) as an alternative to--keypair-path
. This is useful for example to load the signer key from Hashicorp Vault with Vaultenv.- We added scripts to automate some of the checks for validator onboarding.
Bugfixes:
- Issues identified by Neodyme have been fixed, including one critical issue that enabled an attacker to asymptotically own 100% of the stSOL supply.
- Issues identified by Jon Cinque in a peer review have been fixed. Thanks Jon!
Other changes:
- Solido now has a bug bounty and security policy, see SECURITY.md.
Released 2021-08-25.
Compatibility:
solido run-maintainer
now accepts the listen address with the--listen
option, instead of accepting it directly; this was an oversight in previous versions.- The
Validator
struct, part of the on-chainLido
struct, now stores two more stake account seeds, and theweight: u32
has been replaced withactive: bool
. Both of these play a role in validator removal and stake redistribution. We intend for this to be the final on-chain format that will be used in v1. - The serialization format of some instructions changed, due to the introduction of new instructions. From v1 onwards we will make sure to keep these stable.
New features:
- Withdrawals are now possible through the new
Withdraw
instruction that splits off a stake account. For testing purposes and for advanced users,solido
gained a new subcommand,withdraw
, to submit a withdraw transaction. solido create-solido
now accepts a mint address. This can be used to create the stSOL mint in advance at a known address, which is what we did on mainnet-beta.solido
now includes more detail when printing some errors.solido multisig
now outputs some details about the transaction forapprove
andexecute-transaction
.- Validators now have an
active
status (that supersedesweight
— the stake distribution will be uniform). Validators start out active, but can be deactivated to initiate their removal. - The new
solido deactivate-validator
subcommand can propose a multisig transaction to deactivate a validator. - There is a new
Unstake
instruction that will be used for active stake rebalancing in a future version.
Bugfixes:
solido
now properly handles derivation paths when usingusb://ledger
keypair paths.- The stake authority account is no longer writable for the
StakeDeposit
instruction.
Other changes:
- We updated to Solana from 1.7.3 to 1.7.8 and the Serum Multisig program from
v0.4.0 to v0.6.0, and we updated dependencies with
cargo audit
issues. - A Grafana dashboard is available in
etc/grafana-dashboard.json
. - The audit report of the Bramah Systems audit is now available in
audit
. - A deposit transaction now logs what it did, to make it easier to understand transactions on block explorers.
- The
StakeDeposit
instruction now requires staking with the validator that has the least stake, to reduce the need to trust maintainers.
Released 2021-07-30.
Compatibility:
- The on-chain
Lido
struct gained a new field in itsmetrics
field for tracking withdrawals.
New features:
- A first version of withdrawals has been implemented.
solido show-solido
now shows more information about validators.- The maintenance daemon can now be configured to claim fees for one validator. Claiming the fee transfers validation fee stSOL to the validator’s configured fee account.
Other changes:
- We now have more accurate coverage measurements for the unit tests and CLI
test scripts. The
solana_program_test
tests and on-chain program still do not have coverage reports. - Internal cleanup.
Released 2021-07-20.
Compatibility:
- Solido now requires validators to use a vote account that has its withdraw authority set to a Solido-controlled address, and that has the commission set to 100%. Solido then ensures that enrolled validators all get the same commission percentage, paid in stSOL. The manager can configure the fee percentage. This approach discourages direct delegations (users delegating directly to the vote account, instead of depositing with Solido).
- The on-chain
Lido
struct gained two fields:rewards_withdraw_authority_bump_seed: u8
, andmetrics: Metrics
. See below for more information.
New features:
- All options for the
solido
program can now be configured through a config file or environment variable. Previously this was not possible for the--keypair-path
,--cluster
, and--output-mode
options. - The
solido
program gained adeposit
subcommand that enables deposits from the command line. This command is intended for testing purposes, not for end- users. - Solido now records metrics about deposits, rewards, and fees, in the on-chain
data structure. It can be read by any client (for example, by our deposit
widget, to show how much SOL users deposited so far). The maintenance daemon
also exposes these metrics in its Prometheus
/metrics
endpoint.
Changes:
- Solido now expects all rewards to appear in vote accounts. A new instruction,
CollectValidatorFee
, withdraws rewards as much SOL as possible from a vote account, and distributes fees. The maintenance daemon calls this instruction when needed. - Solido can now withdraw excess balance in stake accounts back to the reserve,
from where it can be staked. The main cause of excess balance is merging
stake accounts, which frees up some of the rent. Withdrawing excess stake is
done by the
WithdrawInactiveStake
instruction, which was previously calledUpdateValidatorBalance
. The maintenance daemon calls this instruction when needed. - Dependencies on Solana Program Library programs are now through crates.io. Previously we embedded the Solana Program Library as a Git submodule.
Released 2021-07-07.
Compatibility:
- The reserve no longer doubles as mint authority. There is now a separate program-derived address that acts as the mint authority.
- The on-chain
Lido
struct gained a field:mint_authority_bump_seed: u8
. - The
Deposit
instruction takes one additional account input: the mint authority.
New features:
- When adding a validator, we can now specify its weight, which determines the weighted stake distribution.
- The
solido
program now accepts options from environment variables, in addition to the command-line and a config file.
Bugfixes and other changes:
- CI now automatically builds a maintainer container image for every release.
- We now avoid creating new stake accounts during
StakeDeposit
if possible, and the logic forMergeStake
was simplified. - The maintainer bot uses fewer RPC calls and tries harder to get a consistent view of the on-chain state.
- Fix bug where no fees would be minted if there are donations but no deposits.
Released 2021-07-01.
This is an internal milestone, intended as a cut-off point for the initial audit.