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

Limit number of jobs per submission #73

Closed
webmaster128 opened this issue Oct 16, 2022 · 0 comments · Fixed by #76
Closed

Limit number of jobs per submission #73

webmaster128 opened this issue Oct 16, 2022 · 0 comments · Fixed by #76
Milestone

Comments

@webmaster128
Copy link
Collaborator

Right now, having too many jobs per round would make the transactions fail because all those out_msgs need to be processed in the same transaction within the transaction's gas limit:

            for job in jobs {
                // Use IbcMsg::SendPacket to send packages to the proxies.
                let msg = process_job(env.block.time, job, beacon)?;
                out_msgs.push(msg.into());
            }

After #72

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 a pull request may close this issue.

1 participant