Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
759ee59
refactor: move truffle files to a different directory
Luisfc68 Dec 11, 2024
18b2dd4
refactor: add hardhat deployment scripts
Luisfc68 Dec 12, 2024
ffe305e
chore: add linter
Luisfc68 Dec 12, 2024
0dca269
chore: remove truffle dependencies
Luisfc68 Dec 12, 2024
88c1b3f
refactor: add prettier
Luisfc68 Dec 13, 2024
736a1d2
docs: document deployment functions
Luisfc68 Dec 13, 2024
83aba54
test: migrate basic.tests.js to hardhat
Luisfc68 Dec 20, 2024
af6c29d
refactor: split basic.test file
Luisfc68 Dec 20, 2024
206fa50
docs: document the test utils functions
Luisfc68 Dec 20, 2024
d4fff91
fix: linting issues
Luisfc68 Dec 20, 2024
b01b003
chore: remove unnecessary imports
Luisfc68 Dec 20, 2024
9d008da
ci: compile contracts in pipeline
Luisfc68 Dec 20, 2024
2d27d6a
ci: remove truffle from pipeline
Luisfc68 Dec 20, 2024
37c941d
test: migrate remaining test files to hardhat
Luisfc68 Dec 23, 2024
be458fd
test: add init validation in delployment test
Luisfc68 Dec 23, 2024
6c2e721
Merge pull request #283 from rsksmart/feature/GBI-2371
Luisfc68 Dec 26, 2024
b626b5a
feat: migrate truffle scripts to hardhat tasks
Luisfc68 Dec 26, 2024
c8fe0e3
fix: sonar warnings
Luisfc68 Dec 26, 2024
4707a36
test: migrate integration tests to hardhat
Luisfc68 Jan 3, 2025
037feca
Merge pull request #288 from rsksmart/feature/GBI-2374
Luisfc68 Jan 6, 2025
296fb3e
refactor: remove truffle left overs
Luisfc68 Jan 6, 2025
981ef34
feat: add lbc deployer image
Luisfc68 Jan 7, 2025
8a75c0e
Merge pull request #291 from rsksmart/feature/GBI-2375
Luisfc68 Jan 7, 2025
8ecc2cf
feat: add prepare-upgrade deployment script
Luisfc68 Jan 9, 2025
b928d50
Merge pull request #292 from rsksmart/feature/GBI-2372
Luisfc68 Jan 10, 2025
39efbe6
Merge pull request #293 from rsksmart/feature/GBI-2373
Luisfc68 Jan 14, 2025
483a13c
Merge pull request #294 from rsksmart/feature/GBI-2386
Luisfc68 Jan 14, 2025
12506d7
Merge pull request #295 from rsksmart/hardhat-migration
Luisfc68 Jan 17, 2025
acd340c
Merge branch 'QA-Test' into feature/GBI-2402
Luisfc68 Jan 17, 2025
9254dde
Merge pull request #301 from rsksmart/feature/GBI-2402
Luisfc68 Jan 21, 2025
a6d8b90
feat: added multisig owner change script
gsoares85 Jan 22, 2025
c4bde67
Merge branch 'QA-Test' into feature/GBI-2402
gsoares85 Jan 22, 2025
4adee46
chore: remove unused packages
gsoares85 Jan 22, 2025
e522863
chore: remove safe contracts from slither
gsoares85 Jan 22, 2025
1714b8e
feat: changed to script and networkData to json
gsoares85 Jan 22, 2025
a2786b1
feat: changed unit test
gsoares85 Jan 23, 2025
bb2f7d4
feat: changed tests
gsoares85 Jan 27, 2025
06e33e2
feat: added documentation
gsoares85 Jan 27, 2025
000babe
feat: fixed last comments
gsoares85 Jan 28, 2025
eee1aa3
feat: added main file
gsoares85 Jan 28, 2025
fa0cf66
chore: solved typo
gsoares85 Jan 28, 2025
7a63b63
Merge pull request #307 from rsksmart/feature/GBI-2402
gsoares85 Jan 28, 2025
c91b2b7
feat: added hardhat fork and tested the change ownership on a forked …
gsoares85 Jan 30, 2025
db83c40
feat: fixed comments
gsoares85 Jan 31, 2025
b112c09
feat: changed last comment
gsoares85 Feb 2, 2025
e2ba3b7
Merge pull request #315 from rsksmart/feature/GBI2403-createRskForkFo…
gsoares85 Feb 5, 2025
56e8334
feat: extended multisig change unit tests
gsoares85 Feb 7, 2025
db42edd
feat: fixed comments
gsoares85 Feb 10, 2025
c9575a4
feat: fixed comments
gsoares85 Feb 11, 2025
43d9aad
feat: changed get admin
gsoares85 Feb 11, 2025
495faee
Merge pull request #317 from rsksmart/feature/GBI-2478-addMultisigExe…
gsoares85 Feb 11, 2025
a0e0085
feat: improved test - added multisig info for development
gsoares85 Feb 12, 2025
9947534
Merge pull request #319 from rsksmart/feature/GBI-2465-changeDevEnvir…
gsoares85 Feb 12, 2025
5e17a97
chore: update openzepellin deploy files
gsoares85 Feb 14, 2025
d0e6c5d
Merge pull request #320 from rsksmart/feature/GBI-2465-changeDevEnvir…
gsoares85 Feb 14, 2025
f25bf09
1.3.1
gsoares85 Feb 14, 2025
5a2cb9b
Merge pull request #321 from rsksmart/chore/updateReleaseVersion
gsoares85 Feb 14, 2025
712ca56
feat: changed owner to multisig in testnet
gsoares85 Mar 3, 2025
98ed320
Merge pull request #325 from rsksmart/feature/multisig-publicTestnet
gsoares85 Mar 4, 2025
0f751c2
chore: changed safe contracts folder name
gsoares85 Mar 6, 2025
3a88e5b
chore: changed renaming in comments
gsoares85 Mar 6, 2025
1fba3b0
Merge pull request #326 from rsksmart/chore/rename-zafeContractsFolder
gsoares85 Mar 6, 2025
25eb8b9
fix: bug in resignation process with pegout only LP
AndresQuijano Jun 4, 2025
69ca458
test: fix test to include a broader range of LPs
AndresQuijano Jun 6, 2025
0b55744
Merge pull request #337 from rsksmart/fix/gbi2684/lpc_resignation_bug
AndresQuijano Jun 10, 2025
597983c
feat: Multisig migration tenderly test | GBI-2702
Dominikkq Jun 11, 2025
6381a44
fix: add additional owner check
Dominikkq Jun 11, 2025
8a5e111
fix: prettier
Dominikkq Jun 11, 2025
c4108c6
fix: feedback
Dominikkq Jun 17, 2025
d00cabb
fix: build issues
Dominikkq Jun 17, 2025
141850d
Merge pull request #338 from rsksmart/feat-GBI-2702-tenderly
Dominikkq Jun 17, 2025
9249b30
Merge branch 'QA-Test' into Stable-Test
Luisfc68 Jul 16, 2025
545679d
chore: lint ci files
Luisfc68 Jul 16, 2025
7aab597
Merge pull request #343 from rsksmart/stable-test-sync
Luisfc68 Jul 16, 2025
169ff65
Merge pull request #344 from rsksmart/QA-Test
Luisfc68 Jul 16, 2025
a17d14e
chore: add 1.3.1 testnet deploy info
Luisfc68 Jul 16, 2025
a1f8ab0
test: update expected version
Luisfc68 Jul 16, 2025
2a23283
test: update expected version
Luisfc68 Jul 16, 2025
28f61a6
Merge pull request #345 from rsksmart/1.3.1-testnet-deploy
Luisfc68 Jul 16, 2025
bab128d
Merge pull request #346 from rsksmart/QA-Test
Luisfc68 Jul 16, 2025
06f8f4d
Merge branch 'master' into Stable-Test
Luisfc68 Jul 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules/
26 changes: 16 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ name: CI
# Controls when the workflow will run
on:
push:
branches: [ master, Stable-Test, QA-Test ]
branches: [master, Stable-Test, QA-Test]
pull_request:
branches: [ master, Stable-Test, QA-Test ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -27,21 +26,28 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Use Node.js 19.6.0
- name: Use Node.js 20.15.1
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '19.6.0'

- name: Install truffle
run: npm install -g truffle
node-version: "20.15.1"

- name: NPM Login
run: npm config set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm config set //npm.pkg.github.com/:_authToken $GITHUB_TOKEN

- name: Install dependencies
run: npm ci
# - name: Lint source and tests
# run: npm run lint

- name: Lint contracts
run: npm run lint:sol

- name: Compile contracts
run: npm run compile

- name: Lint test and scripts
run: npm run lint:ts

- name: Unit test smart contracts
run: npm test
# - name: Coverage report
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: "CodeQL"

on:
push:
branches: [ master, Stable-Test, QA-Test ]
branches: [master, Stable-Test, QA-Test]
pull_request:
branches: [ master, Stable-Test, QA-Test ]
branches: [master, Stable-Test, QA-Test]
schedule:
- cron: "0 6 * * *"

Expand All @@ -23,7 +23,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: [ javascript ]
language: [javascript]

steps:
- name: Checkout
Expand All @@ -41,4 +41,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@aa578102511db1f4524ed59b8cc2bae4f6e88195 #v3.27.6
with:
category: "/language:${{ matrix.language }}"
category: "/language:${{ matrix.language }}"
11 changes: 8 additions & 3 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,22 @@
# PRs introducing known-vulnerable packages will be blocked from merging.
#
# Source repository: https://github.com/actions/dependency-review-action
name: 'Dependency Review'
name: "Dependency Review"
on: [pull_request]

permissions:
contents: read

jobs:
dependency-review:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
- name: "Checkout Repository"
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 'Dependency Review'
- name: "Dependency Review"
uses: actions/dependency-review-action@3b139cfc5fae8b618d3eae3675e383bb1769c019 # v4.5.0
with:
comment-summary-in-pr: true
4 changes: 2 additions & 2 deletions .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Scorecard supply-chain security
on:
branch_protection_rule:
schedule:
- cron: '0 0 * * 1'
- cron: "0 0 * * 1"
push:
branches: [ "master" ]
branches: ["master"]

permissions: read-all

Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@ jobs:
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Use Node.js 19.6.0
- name: Use Node.js 20.15.1
uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4.0.4
with:
node-version: '19.6.0'
node-version: "20.15.1"

- name: NPM Login
run: npm config set //npm.pkg.github.com/:_authToken ${{ secrets.GITHUB_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npm config set //npm.pkg.github.com/:_authToken $GITHUB_TOKEN

- name: Install dependencies
run: npm ci
Expand All @@ -31,8 +33,7 @@ jobs:
sarif: results.sarif
fail-on: none
target: .
slither-args: --filter-paths "node_modules/"

slither-args: --filter-paths "node_modules/|contracts/safe-test-contracts/"
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0
with:
Expand Down
18 changes: 18 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,21 @@ coverage.json
.DS_Store
integration-test/test.config.json
.env

node_modules
.env

# Hardhat files
/cache
/artifacts

# TypeChain files
/typechain
/typechain-types

# solidity-coverage files
/coverage
/coverage.json

# Hardhat Ignition default folder for deployments against a local node
ignition/deployments/chain-31337
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.15.1
Loading
Loading