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

CSUB-980: Adjust contract addresses for testing against Devnet & Testnet #1508

Merged
merged 7 commits into from
Jan 18, 2024

Conversation

atodorov
Copy link
Contributor

Description of proposed changes


Practical tips for PR review & merge:

  • All GitHub Actions report PASS
  • Newly added code/functions have unit tests
    • Coverage tools report all newly added lines as covered
    • The positive scenario is exercised
    • Negative scenarios are exercised, e.g. assert on all possible errors
    • Assert on events triggered if applicable
    • Assert on changes made to storage if applicable
  • Modified behavior/functions - try to make sure above test items are covered
  • Integration tests are added if applicable/needed

@codecov-commenter
Copy link

codecov-commenter commented Jan 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (ca123ca) 71.47% compared to head (32e0043) 72.53%.

Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #1508      +/-   ##
==========================================
+ Coverage   71.47%   72.53%   +1.05%     
==========================================
  Files         107      107              
  Lines       12561    12561              
  Branches      128      128              
==========================================
+ Hits         8978     9111     +133     
+ Misses       3583     3440     -143     
- Partials        0       10      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@atodorov atodorov changed the base branch from dev to testnet January 15, 2024 16:34
WARNING: There are two contracts on Sepolia for each token (G-CRE &
GATE). Devnet & Testnet use the same GCRE contract however it has been
deployed twice and offchain workers for each network are configured
differently!

- ETHEREUM_NODE_URL in 1Password has been updated
- TESTNET_ETHEREUM_NODE_URL secret in GitHub has been updated
@atodorov atodorov changed the base branch from testnet to dev January 15, 2024 16:38
@atodorov atodorov force-pushed the testing/CSUB-980-testing-against-devnet branch from a76948f to 46da8ec Compare January 15, 2024 16:38
the creditcoin-node is isolated from the rest of the blockchain however
it is still configured to search for Ethereum transfers on Sepolia,
the same as Testnet! Running the hardhat container here is useless.
because during runtime-upgrade tests we're using `testnet.config.ts`
when running against a disconnected-node locally, however the connection
URL needs to be ws://127.0.0.1:9944.
we're using `testnet.config.ts` however the connection URL needs to
be ws://127.0.0.1:9944 because this isn't supposed to go outside of the
local machine!
@atodorov atodorov force-pushed the testing/CSUB-980-testing-against-devnet branch from 46da8ec to 32e0043 Compare January 16, 2024 12:08
@atodorov atodorov marked this pull request as ready for review January 16, 2024 12:08
@atodorov atodorov merged commit 808e8d2 into dev Jan 18, 2024
35 of 37 checks passed
@atodorov atodorov deleted the testing/CSUB-980-testing-against-devnet branch January 18, 2024 16:40
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