-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Pull in latest generated code #32
Conversation
✅ Heimdall Review Status
|
@@ -95,7 +90,7 @@ func newStakingBalanceFromModel(m *client.StakingBalance) (*StakingBalance, erro | |||
|
|||
return &StakingBalance{ | |||
model: m, | |||
parsedDate: date, | |||
parsedDate: m.GetDate(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
staking balance date field changed from a string to a time.Time so no longer need this parsing.
867a19e
to
5514f03
Compare
privKeys = strings.Split(keys, ",") | ||
} | ||
|
||
signers := make([]solana.PrivateKey, len(privKeys)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code wasn't functional when I tried using the env to pass SOL_PRIVATE_KEYS
as below code attempts to read priv key from keygen filePrivateKeyFromSolanaKeygenFile
instead of PrivateKeyFromBase58
Have removed support for reading from file to keep things simple.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this change makes sense 👍. No necessity to read this from a file.
582b3e4
to
ed98162
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make sure to update the CHANGELOG and pkg/auth/transport.go with the new version
Review Error for deangalvin-cb @ 2024-09-17 20:28:20 UTC |
networkID = client.NETWORKIDENTIFIER_SOLANA_MAINNET | ||
amount = big.NewFloat(0.1) | ||
|
||
apiKeyFilePath = "YOUR_API_KEY" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we keep the method in which we source this information the same across examples?
ed98162
to
3bcdf5d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dont forget to cut a release! LGTM!
What changed? Why?
This PR pulls in the latest client generated code.
devnet staking
Also, tested e2e solana stake on mainnet
Qualified Impact