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

JIT Valset update for all jobs #1011

Merged
merged 6 commits into from
Oct 12, 2023

Conversation

byte-bandit
Copy link
Contributor

@byte-bandit byte-bandit commented Oct 11, 2023

Related Github tickets

Background

Previously, we published a JIT valset update only for jobs
that were triggered using the scheduling module. Bots
and other contract triggering job authors would simply
bypass this.

This change adds a JIT valset update to any job, no matter
the triggering call path.

It also includes an improvement to return with the ID of the
consensus message that was created upon executing a job.
This information will be stored as part of the TX, giving us a
full link into which TX lead to which message being triggered.

Testing completed

  • test coverage exists or has been added/updated
  • tested in a private testnet

Breaking changes

  • I have checked my code for breaking changes
  • If there are breaking changes, there is a supporting migration.

Previously, we published a JIT valset update only for jobs
that were triggered using the scheduling module. Bots
and other contract triggering job authors would simply
bypass this.

This change adds a JIT valset update to any job, no matter
the triggering call path.
@byte-bandit byte-bandit changed the title Clohr/wasm jobs jit valset JIT Valset update for all jobs Oct 11, 2023
@byte-bandit byte-bandit marked this pull request as draft October 11, 2023 11:35
@byte-bandit
Copy link
Contributor Author

Drafting this to block merge until I resolve contract deployment issues due to the new erc20 ownership transfer.

@verabehr
Copy link
Collaborator

addding the id will be very helpful, thanks

@byte-bandit byte-bandit marked this pull request as ready for review October 12, 2023 11:50
@byte-bandit byte-bandit merged commit 35919fc into palomachain:master Oct 12, 2023
1 check passed
@byte-bandit byte-bandit deleted the clohr/wasm-jobs-jit-valset branch October 12, 2023 11:51
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.

None yet

2 participants