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

Refactor NewTFPluginClient to use options instead of long list of optional arguments #857

Closed
Tracked by #827
AbdelrahmanElawady opened this issue Feb 26, 2024 · 1 comment
Assignees
Labels
grid-client belongs to grid client type_feature New feature or request
Milestone

Comments

@AbdelrahmanElawady
Copy link
Collaborator

Description

Refactor NewTFPluginClient to use options instead of long list of optional arguments

@AbdelrahmanElawady
Copy link
Collaborator Author

Verified:

NewTFPluginClient now takes optional arguments:

deployer.NewTFPluginClient(
	mnemonic,
	deployer.WithKeyType(peer.KeyTypeSr25519),
	deployer.WithLogs(),
	deployer.WithNetwork("main"),
	deployer.WithTwinCache(),
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
grid-client belongs to grid client type_feature New feature or request
Projects
Status: Done
Development

No branches or pull requests

4 participants