Skip to content

Feature/skale 4448 allow wallets store skl#653

Draft
yavrsky wants to merge 47 commits into
feature/SKALE-3749-schain-pricingfrom
feature/SKALE-4448-allow-wallets-store-skl
Draft

Feature/skale 4448 allow wallets store skl#653
yavrsky wants to merge 47 commits into
feature/SKALE-3749-schain-pricingfrom
feature/SKALE-4448-allow-wallets-store-skl

Conversation

@yavrsky
Copy link
Copy Markdown
Contributor

@yavrsky yavrsky commented Aug 17, 2021

Allow Wallets to store SKL

payvint added 30 commits July 22, 2021 12:45
payvint and others added 16 commits August 4, 2021 14:06
…t-private-keys

Enhancement/skale 2510 adopt private keys
…events

Enhancement/skale 3785 add events
Bumps [web3](https://github.com/ethereum/web3.js) from 1.4.0 to 1.5.1.
- [Release notes](https://github.com/ethereum/web3.js/releases)
- [Changelog](https://github.com/ChainSafe/web3.js/blob/1.x/CHANGELOG.md)
- [Commits](web3/web3.js@v1.4.0...v1.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [ethers](https://github.com/ethers-io/ethers.js/tree/HEAD/packages/ethers) from 5.4.2 to 5.4.4.
- [Release notes](https://github.com/ethers-io/ethers.js/releases)
- [Changelog](https://github.com/ethers-io/ethers.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ethers-io/ethers.js/commits/v5.4.4/packages/ethers)

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

Signed-off-by: dependabot[bot] <support@github.com>
…ers-5.4.4

Bump ethers from 5.4.2 to 5.4.4
@yavrsky yavrsky requested a review from a team as a code owner August 17, 2021 14:19
@codecov
Copy link
Copy Markdown

codecov Bot commented Aug 17, 2021

Codecov Report

❌ Patch coverage is 98.50746% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 95.40%. Comparing base (3afebe3) to head (7b540ec).

Files with missing lines Patch % Lines
contracts/NodeRotation.sol 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                        Coverage Diff                         @@
##           feature/SKALE-3749-schain-pricing     #653   +/-   ##
==================================================================
  Coverage                              95.39%   95.40%           
==================================================================
  Files                                     38       38           
  Lines                                   2584     2611   +27     
  Branches                                 414      409    -5     
==================================================================
+ Hits                                    2465     2491   +26     
- Misses                                   119      120    +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread contracts/Schains.sol
// /**
// * @dev Returns the current price in SKL tokens for given Schain type and lifetime.
// */
// function getSchainPrice(uint typeOfSchain, uint lifetime) public view returns (uint) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should it be removed?

Comment thread contracts/Wallets.sol
}

function storeSchainDeposit(bytes32 schainHash, uint deposit) external allow("Schains") {
_schainDeposits[schainHash] += deposit;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

SafeMath is missing.

Comment thread contracts/Wallets.sol
msg.sender.transfer(amount);
}

function storeSchainDeposit(bytes32 schainHash, uint deposit) external allow("Schains") {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"IncreaseSchainDeposit"?

@DimaStebaev DimaStebaev marked this pull request as draft September 3, 2021 10:32
@yavrsky yavrsky force-pushed the feature/SKALE-4448-allow-wallets-store-skl branch from 7699f7b to 7b540ec Compare September 27, 2021 15:48
@skale-cla
Copy link
Copy Markdown

skale-cla commented Oct 19, 2021

CLA assistant check
All committers have signed the CLA.

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