Skip to content

Conversation

@andreisilviudragnea
Copy link

@andreisilviudragnea andreisilviudragnea commented Dec 11, 2023

Addendum to #233.

  • Simplified Rpc trait usage (removed the need to wrap Solana RpcClient in RpcEnum using rpc_client.clone().into(), since both RpcClient and RpcEnum implement Rpc, so impl Rpc parameters accept both)
  • Extracted BuildConfigSimulator trait
  • Converted ConfigSimulator functions to methods
  • Renamed some local variables

@andreisilviudragnea andreisilviudragnea changed the title NDEV-2438: Clean up Rpc trait usage NDEV-2438: Simplify Rpc trait usage Dec 11, 2023
@andreisilviudragnea andreisilviudragnea force-pushed the NDEV-2438 branch 2 times, most recently from 20a9711 to a1bc32b Compare December 11, 2023 20:23
- Extracted BuildConfigSimulator trait
- Converted ConfigSimulator functions to methods
Copy link

@Deniskore Deniskore left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@andreisilviudragnea andreisilviudragnea merged commit acf2ef1 into develop Dec 12, 2023
@andreisilviudragnea andreisilviudragnea deleted the NDEV-2438 branch December 12, 2023 09:27
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.

4 participants