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 gas quirks to Pact 5 #2092

Merged
merged 2 commits into from
Jan 10, 2025
Merged

Add gas quirks to Pact 5 #2092

merged 2 commits into from
Jan 10, 2025

Conversation

edmundnoble
Copy link
Contributor

We don't have a use for these yet, but this does establish the way
they can work in future. Depends on #2091.

@edmundnoble edmundnoble requested a review from chessai January 7, 2025 19:32
Prior, we'd say "the command with request key X has gas Y". Now we say
"the command on chain X with block height H and at index I has gas Y".
This makes it possible to test without tying the knot anywhere,
because the request key is a hash that includes the version name, and
also lets us integrate it into Pact 5 later.

Change-Id: Id00000007bbb29b009a2b2e4a0cf36180c8df1a7
We don't have a use for these yet, but this does establish the way
they can work in future.

Change-Id: Id0000000988f8d89c77367f877e8e103aa2dade6
-- rs <- txResults
-- liftIO $ print rs
-- testCurrentBlock quirkedTests
-- TODO: pact5.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this comment? You have quirkSpec in the pact 5 tests

@edmundnoble edmundnoble added this pull request to the merge queue Jan 10, 2025
Merged via the queue into master with commit 36b91ea Jan 10, 2025
37 of 41 checks passed
@edmundnoble edmundnoble deleted the push-qrrkrmrqnssw branch January 10, 2025 21:27
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.

2 participants