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

no need to generate the clients every tx #1681

Open
github-actions bot opened this issue Oct 23, 2024 · 0 comments
Open

no need to generate the clients every tx #1681

github-actions bot opened this issue Oct 23, 2024 · 0 comments

Comments

@github-actions
Copy link

Line: 40

}
func (g *TxGenerator) GenerateTx(ctx context.Context, uri string) (*chain.Transaction, workload.TxAssertion, error) {
// TODO: no need to generate the clients every tx
cli := jsonrpc.NewJSONRPCClient(uri)
lcli := vm.NewJSONRPCClient(uri)
to, err := ed25519.GeneratePrivateKey()
if err != nil {
return nil, nil, err
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants