This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 505
Contracts management #391
Open
imyourm8
wants to merge
58
commits into
main
Choose a base branch
from
contracts-management
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Contracts management #391
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
4add333
config
zorancuc 1c0d7cd
upd: ignore debug files
a5be80c
remove package lock
zorancuc bd0a228
update gitignore add artifacts
zorancuc 5ab43b1
remove artifacts
zorancuc dbc4b68
Merge remote-tracking branch 'origin/migrate_hardhat' into migrate_ha…
2e426b3
chg: test with hardhat
dbfb1bd
upd: run tests with hardhat
b16b1c4
refactor: delete old tests
e20573f
chg: add typescript support
f4b2a6f
new: typechain
eb2fbd1
WIP: verify bytecode and storage
e8403f9
chg: add ValidatorShare deployment
f4f035c
misc: remove commented code
2604580
chg: move to yarn. Generate governance command.
8623e38
chg: generate typechain bindings after installation
cc27c7f
chg: StakeManager migration
029d738
upd: remove moonwalker
586e7b8
upd: translate truffle migrations to the hardhat
c9bb160
fix: tests
c9b6686
misc: clean up
73dfcbb
new: simple preprocessor for solidity files
5263b92
upd: old files written with #if..#endif
a39f48f
chg: remove Migrations.sol
7546c5a
chg: remove legacy script
14c2436
upd: improve storage verification report
825d7ff
upd: use yarn and storage verification in CI
4d3ba66
upd: package information
15c5184
upd: readme, package license
a7ae727
upd: more proxies migrations
148034a
upd: deploy predicates
29d07b3
upd: CI in PRs
20ce00b
upd: remove line breaks
f435f4f
fix: CI config
69bc69e
fix: config
c5bbac7
fix: CI config
bc1ba97
fix: CI config
e937ac0
fix: use node 14 for CI
e2eaa04
fix: typechain initial generation
49121c3
fix: add nunjucks for process templates
e202162
fix: do not process directories
eb604a0
fix: extract base type for storage slot
d756b8b
upd: 1st release types
88da230
new: StakeManagerExtension migration
bfc4abb
upd: return back extracting base type of the storage slot
0adfddb
upd: improve #if #endif blocks to allow multi network conditions
177e870
fix: tests
2a586cb
fix: tests
imyourm8 b9274ae
fix: tests
imyourm8 f7ab8d8
fix: use child network for testing
imyourm8 48f2288
fix: do not subtract delegation from timeline if validator is unstaked
fc58f80
new
2dd5fe5
chg
8c9ad51
stuff
746dfd6
chg
afd6c6e
Merge branch 'ddsb' into contracts-management
ff6873a
fix: verify deployed contract automatically
f9a349d
new: second release
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,21 @@ | ||
module.exports = { | ||
parser: 'babel-eslint', | ||
extends: 'standard', | ||
parser: '@typescript-eslint/parser', | ||
parserOptions: { | ||
ecmaVersion: 2020, // Allows for the parsing of modern ECMAScript features | ||
sourceType: 'module' // Allows for the use of imports | ||
}, | ||
extends: [ | ||
'standard', | ||
'plugin:@typescript-eslint/recommended' | ||
], | ||
env: { | ||
node: true, | ||
es6: true, | ||
mocha: true | ||
}, | ||
rules: { | ||
'space-before-function-paren': ['error', 'never'] | ||
}, | ||
globals: { | ||
contract: true, | ||
web3: true, | ||
assert: true | ||
'space-before-function-paren': ['error', 'never'], | ||
quotes: ['error', 'single'], | ||
semi: ['error', 'never'] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
11.1.0 | ||
14.17.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
pragma solidity ^0.5.2; | ||
|
||
contract ChainIdMixin { | ||
#if mainnet root | ||
bytes constant public networkId = hex"89"; | ||
uint256 constant public CHAINID = 137; | ||
#endif | ||
|
||
#if goerli child | ||
bytes constant public networkId = hex"3A99"; | ||
uint256 constant public CHAINID = 15001; | ||
#endif | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added trailing whitespace?