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

Add an example for transaction scaling using proposer key rotation #800

Merged
merged 3 commits into from
Dec 20, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix start time
nvdtf committed Dec 17, 2024
commit 474a7982d627bf9dcf136fb0f7e4ff94c8a690a1
3 changes: 2 additions & 1 deletion examples/transaction_scaling/main.go
Original file line number Diff line number Diff line change
@@ -79,7 +79,6 @@ const contractCode = `
func main() {
// set up context and flow client
ctx := context.Background()
startTime := time.Now()
flowClient, err := grpc.NewClient(grpc.TestnetHost)
examples.Handle(err)

@@ -99,6 +98,8 @@ func main() {
txChan <- i
}

startTime := time.Now()

var wg sync.WaitGroup
// start the workers
for i := 0; i < numProposalKeys; i++ {