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

Fix provider mock #1187

Merged
merged 16 commits into from
May 15, 2024
Merged

Fix provider mock #1187

merged 16 commits into from
May 15, 2024

Conversation

forgetso
Copy link
Member

@forgetso forgetso commented Apr 26, 2024

  • Fixes for out of date provider mock
  • Build and test provider mock on PR
  • Build and push provider mock on publish for AMD64
  • Adds option to pass gas increase factor when dry running a contract method
  • Uses an SVG for the provider GUI header logo

// The block at which the captcha was requested
[ApiParams.blockNumber]: number
[ApiParams.blockNumber]?: number
Copy link
Contributor

Choose a reason for hiding this comment

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

Why would the block at which the captcha was requested not be included in the image verification response?

): ContractOptions {
const gasIncreaseFactor = increaseGas ? GAS_INCREASE_FACTOR : 1
gasIncreaseFactor = increaseGas ? (gasIncreaseFactor ? gasIncreaseFactor : GAS_INCREASE_FACTOR) : 1
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
gasIncreaseFactor = increaseGas ? (gasIncreaseFactor ? gasIncreaseFactor : GAS_INCREASE_FACTOR) : 1
gasIncreaseFactor = increaseGas ? gasIncreaseFactor || GAS_INCREASE_FACTOR : 1

@prosoponator prosoponator merged commit e19b3ef into main May 15, 2024
11 of 12 checks passed
@prosoponator prosoponator deleted the fix-provider-mock branch May 15, 2024 16:46
HughParry added a commit that referenced this pull request May 15, 2024
@HughParry HughParry restored the fix-provider-mock branch May 15, 2024 16:54
HughParry added a commit that referenced this pull request May 15, 2024
Revert "Fix provider mock (#1187)"

This reverts commit e19b3ef.
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.

3 participants