From fa4a93e766f0625502355ea25dc65ab47ed195f3 Mon Sep 17 00:00:00 2001 From: Antonio Morrone Date: Fri, 5 Jan 2024 15:34:43 +0000 Subject: [PATCH] feat: project upgrade (#259) * PP-358: configure the project to use ethers (#231) * chore: update package version * feat: replace truffle/web3 with hardhat * chore: add clean script in package.json * test: fix hardhat network * fix: remove unnecessary peer dependency * fix: use the contracts from the root folder instead of dist * chore: rename prettierrc to prettierrc.json5 for consistency across all the project * chore: update package-lock.json * chore: update rif-relay-contracts dependency * PP-661: replace circleci with gh actions (#236) * build: add the build step in the prepare script * chore: replace circleci with github action * chore: rename workflow and use local rsk files * fix: use rskj version 4.1.1 * fix: apply format rules to yml files * PP-642/migrate-test-utils-server (#233) * refactor: remove smartWalletFactory * refactor(TestUtils): error handling * refactor: remove unnecessary files * refactor(TestUtils): wallet per owner * PP-640/custom smart wallet (#234) * PP639: Migrate SmartWallet tests (#232) * feat: migrate the RIFSmartWallet integration tests * refactor: implement @metamask signatures * fix: change the way we create smart wallets use ethers provider instead of hardhat rename files --------- Co-authored-by: Antonio Morrone * PP638: Migrate verifiers tests (#240) * feat: migrate DeployVerifier integration test. * PP-636/relay-hub-tests (#239) * feat: refactor relayHub tests --------- Co-authored-by: Christos Otarola Co-authored-by: Antonio Morrone * PP-633/relay-server-tests (#238) * test(RelayServer): refactoring tests * refactor(RelayServer): simplify relay transaction build * refactor: buildServerUrl * refactor: based on PR comments * chore: dependency update * refactor: rebase * PP-634/registration-manager-tests (#242) * test: migrate the registration manager tests * PP-637: relay hub gas consumption tests (#243) * feat: refactor of gas tests * fix: reduce concatenated messages, log lines, deploy hub util * PP-680: remove buildServerUrl usage (#244) * fix: remove the buildServerUrl usage * fix: remove non-null assertion * PP-686: gas estimation task (#245) * feat: ported gas estimation tests to script * PP-635/relay-client-tests (#246) * test(RelayClient): migration of the existing integration tests * refactor: use already defined deployContract function --------- Co-authored-by: Francisco Tobar Co-authored-by: Antonio Morrone * PP719: Adapt estimation script to calculate the cost of a deployment (#247) * feat: add gas estimation for deploy * feat: add additional estimation with token payment * refactor: refactor the script to make it more readable --------- Co-authored-by: Antonio Morrone * fix/verify_with_relay_hub (#250) * refactor(RelayClient): verify with relay hub * build: dependency update * ci: update the rskj node version and configuration (#252) * PP-803/optimize server startup (#254) * test: fix failing tests * PP-842: fix underpriced transactions (#255) * test: fix broken tests * test: include tests to cover relay server fixes * chore: move expectation outside the test * build: version / relay-server dependency --------- Co-authored-by: Francisco Tobar * fix: remove unused tests (#258) * Update Readme.md Co-authored-by: franciscotobar <100875069+franciscotobar@users.noreply.github.com> * Update Readme.md Co-authored-by: franciscotobar <100875069+franciscotobar@users.noreply.github.com> * Update Readme.md Co-authored-by: franciscotobar <100875069+franciscotobar@users.noreply.github.com> * Update Readme.md Co-authored-by: franciscotobar <100875069+franciscotobar@users.noreply.github.com> * Update scripts/GasEstimation.ts Co-authored-by: franciscotobar <100875069+franciscotobar@users.noreply.github.com> * style: apply format rule * docs: readme --------- Co-authored-by: franciscotobar <100875069+franciscotobar@users.noreply.github.com> Co-authored-by: Christos Otarola Co-authored-by: AndresQuijano <66392159+AndresQuijano@users.noreply.github.com> Co-authored-by: Christos Otarola Co-authored-by: Francisco Tobar