Skip to content

chore(marketplace): use hardhat ignition #1195

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

Merged
merged 4 commits into from
Jun 20, 2025
Merged

Conversation

2-towns
Copy link
Contributor

@2-towns 2-towns commented Apr 15, 2025

This PR update the contracts module in order to use hardhat ignition for deployments and replace the deleted increaseAllowance by allowance / approve functions.

@markspanbroek
Copy link
Contributor

I ran into the same problem with #1196 and solved it with a lock (94236ca) to ensure that we don't get any race conditions while updating the allowance.

@2-towns
Copy link
Contributor Author

2-towns commented Apr 16, 2025

I ran into the same problem with #1196 and solved it with a lock (94236ca) to ensure that we don't get any race conditions while updating the allowance.

Thanks !

@2-towns 2-towns force-pushed the chore/hardhat-ignition branch from 1f2caf1 to bb505db Compare April 17, 2025 13:41
@2-towns 2-towns marked this pull request as ready for review April 18, 2025 09:02
Copy link
Contributor

@emizzle emizzle left a comment

Choose a reason for hiding this comment

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

Quick suggestion...

@2-towns 2-towns force-pushed the chore/hardhat-ignition branch from 0f0e8b1 to 730df2e Compare June 2, 2025 12:42
assert execResult.status == 0
except CancelledError as e:
raise e
except Exception as e:
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
except Exception as e:
except CatchableError as e:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I used Exception because the compiler was complaining Error: workingDir(node) can raise an unlisted exception: Exception

@2-towns 2-towns force-pushed the chore/hardhat-ignition branch from 730df2e to 6805b54 Compare June 5, 2025 08:08
Copy link
Member

@AuHau AuHau left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! 🙏

@AuHau
Copy link
Member

AuHau commented Jun 9, 2025

Seems like the tests are failing on the test that you reduced the polling for? Maybe try to revert it?

@2-towns
Copy link
Contributor Author

2-towns commented Jun 12, 2025

Seems like the tests are failing on the test that you reduced the polling for? Maybe try to revert it?

Yeah actually I would prefer to have #1268 merged first and rebase this PR on master.

@2-towns 2-towns force-pushed the chore/hardhat-ignition branch from a8c21bd to 749f27a Compare June 12, 2025 09:43
@2-towns 2-towns force-pushed the chore/hardhat-ignition branch from 749f27a to 0499e89 Compare June 20, 2025 04:41
@2-towns 2-towns force-pushed the chore/hardhat-ignition branch from 0499e89 to 4966e40 Compare June 20, 2025 14:13
@2-towns 2-towns enabled auto-merge June 20, 2025 14:13
@2-towns 2-towns added this pull request to the merge queue Jun 20, 2025
Merged via the queue into master with commit 7b660e3 Jun 20, 2025
18 checks passed
@2-towns 2-towns deleted the chore/hardhat-ignition branch June 20, 2025 17:33
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.

4 participants