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

Release v232 for mainnet #1386

Merged
merged 114 commits into from
Oct 31, 2023
Merged

Release v232 for mainnet #1386

merged 114 commits into from
Oct 31, 2023

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

@atodorov atodorov changed the base branch from dev to main October 30, 2023 19:16
b/c this commit has been applied to `main` directly without making it
into `dev` and `testnet` branches and that causes conflicts with the
next release. In case creditcoin-js type definitions need updating the
CI job running inside the pull request will take care of it.

This reverts commit 68a1240.
b/c this commit has been applied to `main` directly without making it
into `dev` and `testnet` branches and that causes conflicts with the
next release. In case creditcoin-js type definitions need updating the
CI job running inside the pull request will take care of it.

This reverts commit 29c8355.
gluwa-bot and others added 26 commits October 31, 2023 12:06
both Creditcoin integration tests and cc-cli integration tests are
building creditcoin-node with exactly the same arguments. Merging the
two definitions allows both jobs to depend on a common build job which
should reduce overall CI turnaround time.
so that descriptions will appear properly
- brings parity with testnet releases
- makes it more obvious what release it is
in preparation for request_collect_coins_v2
- fix initial WeightInfo to be greater than zero before benchmarks
  have the chance to update this appropriately
from -> sender
to -> recipient

maintain old names for serialization/deserialization b/c tests are
consuming raw JSON data when mocking Ethereum responses
- both ETH wallets are controlled by the same Creditcoin account
- mixing 2nd ETH address with tx hash from the 1st address should fail
  verify_collect_coins() in OCW.
- more descriptive names
- assert on WeightInfo
- return WeightInfo > 0 to pass CI before benchmarks have the chance to
  update the weights with correct values
Bumps [paste](https://github.com/dtolnay/paste) from 1.0.12 to 1.0.14.
- [Release notes](https://github.com/dtolnay/paste/releases)
- [Commits](dtolnay/paste@1.0.12...1.0.14)

---
updated-dependencies:
- dependency-name: paste
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [strum](https://github.com/Peternator7/strum) from 0.24.1 to 0.25.0.
- [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Peternator7/strum/commits)

---
updated-dependencies:
- dependency-name: strum
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
atodorov and others added 10 commits October 31, 2023 12:08
…tAddress->GATEFaucetAc… (#1333)

* renamed TokenContract->BurnDetail and GATEFaucetAddress->GATEFaucetAccount

* updated benchmarking.rs

* Auto-update creditcoin-js type definitions

---------

Co-authored-by: Zachary Frederick <zach.frederick@gluwa.com>
Co-authored-by: gluwa-bot <creditcoin@gluwa.com>
this should have been removed as part of
#1289
@github-actions
Copy link

For full LLVM coverage report click here!

@codecov-commenter
Copy link

codecov-commenter commented Oct 31, 2023

Codecov Report

Merging #1386 (3851575) into main (15ae61d) will decrease coverage by 58.24%.
The diff coverage is 34.72%.

@@             Coverage Diff             @@
##             main    #1386       +/-   ##
===========================================
- Coverage   71.11%   12.87%   -58.24%     
===========================================
  Files         106       31       -75     
  Lines       12470      955    -11515     
  Branches      114      120        +6     
===========================================
- Hits         8868      123     -8745     
+ Misses       3593      832     -2761     
+ Partials        9        0        -9     
Files Coverage Δ
scripts/cc-cli/src/api.ts 33.33% <0.00%> (-66.67%) ⬇️
scripts/cc-cli/src/utils/tx.ts 27.65% <0.00%> (-23.41%) ⬇️
scripts/cc-cli/src/utils/tests.ts 0.00% <0.00%> (ø)
...ripts/cc-cli/src/test/integration-tests/helpers.ts 0.00% <0.00%> (-79.63%) ⬇️
scripts/cc-cli/src/commands/collectCoins.ts 41.93% <41.93%> (ø)
scripts/cc-cli/src/commands/registerAddress.ts 36.36% <36.36%> (ø)

... and 82 files with indirect coverage changes

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@atodorov atodorov force-pushed the release/v232-for-mainnet branch from b35f6de to 64a3eb5 Compare October 31, 2023 13:44
b/c the self-hosted GitHub runners have an extra 60GB of space there!
@atodorov atodorov force-pushed the release/v232-for-mainnet branch from 64a3eb5 to 0cc4bd7 Compare October 31, 2023 14:06
@AdaJane AdaJane marked this pull request as ready for review October 31, 2023 23:13
@AdaJane AdaJane merged commit 4b055b3 into main Oct 31, 2023
37 of 40 checks passed
@AdaJane AdaJane deleted the release/v232-for-mainnet branch October 31, 2023 23:14
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.

5 participants