Skip to content
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

[DPA-1421]: feat(solana): timelock inspection get roles implementation #238

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

graham-chainlink
Copy link
Contributor

@graham-chainlink graham-chainlink commented Jan 15, 2025

Implement get roles methods for the timelock inspection.

e2e will come in another PR to keep this PR small.

JIRA: https://smartcontract-it.atlassian.net/browse/DPA-1421

@graham-chainlink graham-chainlink requested a review from a team as a code owner January 15, 2025 07:26
Copy link

changeset-bot bot commented Jan 15, 2025

🦋 Changeset detected

Latest commit: 1db788d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@smartcontractkit/mcms Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@graham-chainlink graham-chainlink force-pushed the ggoh/DPA-1421/get-roles-timelock-inspection branch from 2c64b35 to 6b59526 Compare January 15, 2025 07:27
ecPablo
ecPablo previously approved these changes Jan 15, 2025
@@ -0,0 +1,5 @@
---
"@smartcontractkit/mcms": patch
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd say this is a minor since it's adding new funcionality?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cool updated!

@gustavogama-cll gustavogama-cll force-pushed the ggoh/solana-inspector-return branch 3 times, most recently from dda7d37 to b5f3f1a Compare January 15, 2025 17:14
Base automatically changed from ggoh/solana-inspector-return to main January 16, 2025 03:21
@graham-chainlink graham-chainlink dismissed ecPablo’s stale review January 16, 2025 03:21

The base branch was changed.

@graham-chainlink graham-chainlink force-pushed the ggoh/DPA-1421/get-roles-timelock-inspection branch from 6b59526 to 1be4a68 Compare January 16, 2025 03:46
@graham-chainlink graham-chainlink requested a review from a team January 16, 2025 03:47
Copy link
Contributor

@gustavogama-cll gustavogama-cll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all good. Let's just not forget about the e2e tests.

Implement get roles methods for the timelock inspection.
e2e will come in another PR to keep this PR small.

JIRA: https://smartcontract-it.atlassian.net/browse/DPA-1421
testRoot = common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000")
testChainSelector = types.ChainSelector(cselectors.SOLANA_DEVNET.Selector)
testProgramID = solana.MustPublicKeyFromBase58("6UmMZr5MEqiKWD5jqTJd1WCR5kT8oZuFYBLJFi1o6GQX")
testTimelockProgramID = solana.MustPublicKeyFromBase58("LoCoNsJFuhTkSQjfdDfn3yuwqhSYoPujmviRHVCzsqn")
Copy link
Contributor Author

@graham-chainlink graham-chainlink Jan 16, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

turns out unit test was failing if the same programID was registered to more than 1 program

@graham-chainlink graham-chainlink added this pull request to the merge queue Jan 16, 2025
Merged via the queue into main with commit abde70c Jan 16, 2025
8 checks passed
@graham-chainlink graham-chainlink deleted the ggoh/DPA-1421/get-roles-timelock-inspection branch January 16, 2025 04:37
akhilchainani pushed a commit that referenced this pull request Jan 28, 2025
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @smartcontractkit/[email protected]

### Minor Changes

- [#256](#256)
[`45c6a2e`](45c6a2e)
Thanks [@akhilchainani](https://github.com/akhilchainani)! - Allow
callProxy execute capability

- [#245](#245)
[`7a5944e`](7a5944e)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! - Add
context and Converter map TimelockConverter.Convert params

- [#231](#231)
[`a8447e1`](a8447e1)
Thanks [@graham-chainlink](https://github.com/graham-chainlink)! -
feat(solana): timelock inspection - operation statuses check

- [#242](#242)
[`c610826`](c610826)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! - Add
TimelockProposal.Convert for solana

- [#238](#238)
[`abde70c`](abde70c)
Thanks [@graham-chainlink](https://github.com/graham-chainlink)! -
feat(solana): implement get roles for timelock inspection

- [#236](#236)
[`150a1f6`](150a1f6)
Thanks [@graham-chainlink](https://github.com/graham-chainlink)! - Use
string for inspector return type

- [#209](#209)
[`a71dd79`](a71dd79)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! - Add the
`Configurer` component and `SetConfig` call to the Solana SDK.

- [#223](#223)
[`4adb968`](4adb968)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! - Add a
"context" parameter to all APIs that interact with a blockchain.

- [#227](#227)
[`21d8809`](21d8809)
Thanks [@ecPablo](https://github.com/ecPablo)! - Adds Execute
functionality to solana SDK

- [#248](#248)
[`e153c75`](e153c75)
Thanks [@ecPablo](https://github.com/ecPablo)! - Timelock execute batch
on solana SDK.

- [#211](#211)
[`be76399`](be76399)
Thanks [@graham-chainlink](https://github.com/graham-chainlink)! -
feat(solana): support get opdata, root and root metadata

### Patch Changes

- [#215](#215)
[`9f39403`](9f39403)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! - Add the
`Executor` component and `SetRoot` call to the Solana SDK.

- [#259](#259)
[`a4bc13b`](a4bc13b)
Thanks [@anirudhwarrier](https://github.com/anirudhwarrier)! -
usbwallet: fix ledger access for latest firmware and add Ledger Flex

- [#225](#225)
[`7c9cd3d`](7c9cd3d)
Thanks [@gustavogama-cll](https://github.com/gustavogama-cll)! - Add PDA
finders and ContractAddress parser to the Solana SDK

- [#258](#258)
[`a11a0ee`](a11a0ee)
Thanks [@akhilchainani](https://github.com/akhilchainani)! -
non-breaking change to allow a salt override to proposals

- [#228](#228)
[`b953973`](b953973)
Thanks [@graham-chainlink](https://github.com/graham-chainlink)! -
fix(solana): setProgramID on inspection methods

Co-authored-by: app-token-issuer-engops[bot] <144731339+app-token-issuer-engops[bot]@users.noreply.github.com>
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.

3 participants