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

master -> rskip351+rskip144 merge #2755

Merged
merged 99 commits into from
Sep 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
2031de7
Adding Default Min Gas Price provider
asoto-iov May 3, 2024
760908a
Adding StableMinGasPrice related class structure for a future impleme…
asoto-iov May 10, 2024
db7750c
Updated structure
asoto-iov May 15, 2024
3bc0a57
Adding tests
asoto-iov May 17, 2024
bf975c5
fixing sonar issue
asoto-iov May 17, 2024
923447f
feat(smgp): adds context fetching callback to providers
jurajpiar Jun 6, 2024
3dab053
feat(stableMinGasPrice): makes only ethCall use context
jurajpiar Jun 7, 2024
f7a212e
Merge pull request #2454 from rsksmart/juraj/eth_call_stableGasPrice_…
Vovchyk Jun 13, 2024
39d0e26
Adding new Stable Gas Price Web Provider
asoto-iov Jun 7, 2024
26fa303
Updating tests
asoto-iov Jun 13, 2024
6b10626
Addressing pr comments with a small refactor
asoto-iov Jun 20, 2024
4d5e1d8
fix test
asoto-iov Jun 20, 2024
002510e
Addressing PR improvement and unifiying refresh rate logic into the a…
asoto-iov Jun 20, 2024
087e6a0
Merge pull request #2455 from rsksmart/adding_web_provider
Vovchyk Jun 26, 2024
a3118a5
Merge branch 'master' into feature/include_stable_minGasPrice_provider
Vovchyk Jun 26, 2024
fdf71ad
Merge branch 'master' into feature/include_stable_minGasPrice_provider
Vovchyk Jul 8, 2024
08c7e9a
Merge branch 'master' into feature/include_stable_minGasPrice_provider
Vovchyk Jul 12, 2024
9c5f722
feat(stableMinGasPrice): refactoring
Vovchyk Jul 17, 2024
e360b7e
feat(stableMinGasPrice): review suggestions
Vovchyk Jul 18, 2024
144e718
Merge pull request #2598 from rsksmart/vovchyk/stablemingasprice-ref
Vovchyk Jul 18, 2024
30a0ee8
Merge branch 'master' into feature/include_stable_minGasPrice_provider
Vovchyk Jul 18, 2024
1d9c713
Adding Rootstock Integration Tests workflow
rmoreliovlabs Aug 28, 2024
afadadb
addressing comments
rmoreliovlabs Sep 3, 2024
20ef32d
Update workflow to use specific commit hashes for GitHub Actions Chec…
rmoreliovlabs Sep 4, 2024
f5da98a
Initial constants and config for the max initcode size
fmacleal Jul 22, 2024
c37c4d8
Addressing comments
rmoreliovlabs Sep 6, 2024
a775973
Adding back the pull_request trigger
fmacleal Sep 9, 2024
6a0e6e1
Feature/initcode size limit using transaction creations (#2665)
fmacleal Sep 8, 2024
b40289d
Feature/initcode size limit using transaction creations (#2665)
fmacleal Sep 8, 2024
acaca32
Merge branch 'feature/introduce_initcode_size_limit' of github.com:rs…
fmacleal Sep 9, 2024
2734e18
Deleting unused DSL files created previously
fmacleal Sep 11, 2024
c42b470
Update rit.yml
fmacleal Sep 11, 2024
5e2f1d2
Revert "Update rit.yml"
fmacleal Sep 11, 2024
a1e21dc
Merge pull request #2701 from rsksmart/feature/add_rootstock_integrat…
Vovchyk Sep 11, 2024
a274c63
Merge branch 'master' into feature/introduce_initcode_size_limit
fmacleal Sep 11, 2024
fba3cf3
Remove unthrown exceptions from the method signatures
marcos-iov Aug 28, 2024
dde9970
Rename variables in tests
marcos-iov Aug 28, 2024
5bb11d5
Update FederationTestUtils to create an ERP federation similar to the…
marcos-iov Aug 28, 2024
8a3d673
Move flatKeysAsByteArray method to BitcoinTestUtils
marcos-iov Sep 3, 2024
b5a255f
Refactor BridgeEventLoggerImplTest
marcos-iov Sep 3, 2024
bba81f7
Add a static builder method to P2shErpFederationBuilder
marcos-iov Sep 5, 2024
e24caf0
Add a static builder method to PendingFederationBuilder
marcos-iov Sep 5, 2024
06e5046
Add a static builder method to StandardMultiSigFederationBuilder
marcos-iov Sep 5, 2024
8548a31
Rename variables in tests
marcos-iov Sep 6, 2024
f8816af
Use all active forks in a test
marcos-iov Sep 6, 2024
eaed340
Rename values of FederationType enum in PowpegMigrationTest to be upp…
marcos-iov Sep 6, 2024
3878e19
Improve activations object used in tests
marcos-iov Sep 11, 2024
18a0abd
Cleanup BridgeSupportIT class
marcos-iov Sep 11, 2024
fe972e5
Cleanup BridgeSupportTest class
marcos-iov Sep 11, 2024
6ab44a6
Cleanup PegUtilsGetTransactionTypeTest class
marcos-iov Sep 11, 2024
5c7b1a1
Cleanup BridgeSupportProcessFundsMigrationTest class
marcos-iov Sep 11, 2024
4fbdf69
Cleanup remaining test classes
marcos-iov Sep 11, 2024
f8fbcaa
Merge pull request #2722 from rsksmart/master
Vovchyk Sep 12, 2024
128bcdb
Merge pull request #2706 from rsksmart/refactor-tests
josedahlquist Sep 12, 2024
8e0604a
Create flyover redeem script builder
julia-zack Aug 17, 2024
0e71532
Delete FlyoverRedeemScriptCreationException and move flyover reason t…
julia-zack Aug 19, 2024
e90a050
Change call to P2shErpFederationBuilder
marcos-iov Sep 13, 2024
2be66e4
Add @Override annotation
marcos-iov Aug 28, 2024
b0d9fe5
Refactor Java version output in web3_clientVersion
rmoreliovlabs Aug 12, 2024
17b20ac
Add tests and implement method for formatting Java version
rmoreliovlabs Aug 12, 2024
78a6dc0
Remove unused private field in Web3ImplTest
rmoreliovlabs Aug 13, 2024
870d0e9
Fixing some issues on RIT workflow
fmacleal Sep 12, 2024
7719ed1
Refactor redeem script builders to use 'of' method name
marcos-iov Sep 17, 2024
08b28eb
Add a static 'builder' method to the redeem sript builders
marcos-iov Sep 17, 2024
0994382
Merge pull request #2727 from rsksmart/flyover-rs-parser
josedahlquist Sep 17, 2024
1bf9d53
fix(stableMinGasPrice): fix time units conversion
Vovchyk Sep 12, 2024
1265ac9
fix(stableMinGasPrice): fetch prices in background
Vovchyk Sep 13, 2024
8cecf43
fix(stableMinGasPrice): apply naming suggestions
Vovchyk Sep 16, 2024
eede703
Merge branch 'master' into feature/include_stable_minGasPrice_provider
Vovchyk Sep 19, 2024
a4f2040
Applying suggestion from DevOps
fmacleal Sep 19, 2024
0da5905
Adding notification channel from env variable
fmacleal Sep 19, 2024
7dd58c6
Merge pull request #2310 from rsksmart/feature/include_stable_minGasP…
Vovchyk Sep 19, 2024
a8fc652
Merge branch 'master' into fix/solving_issues_rit_workflow
fmacleal Sep 19, 2024
1680ad6
Merge branch 'master' into feature/introduce_initcode_size_limit
fmacleal Sep 19, 2024
4f4b5e6
Applying suggestions from review
fmacleal Sep 19, 2024
4c3a2c3
Update .github/workflows/rit.yml
fmacleal Sep 19, 2024
ce40c21
Applying suggestion from review
fmacleal Sep 19, 2024
6fe81bb
Merge pull request #2627 from rsksmart/feature/introduce_initcode_siz…
Vovchyk Sep 19, 2024
db418ac
Update .github/workflows/rit.yml
fmacleal Sep 19, 2024
0c7ab7e
Update .github/workflows/rit.yml
fmacleal Sep 20, 2024
9c97b9d
Update .github/workflows/rit.yml
fmacleal Sep 20, 2024
eddbb9f
Update .github/workflows/rit.yml
fmacleal Sep 20, 2024
f74d14c
Small fix on rit branch and removing set -x
fmacleal Sep 20, 2024
0d91f89
Adding the github env info to env variables
fmacleal Sep 23, 2024
ab6bbd0
Merge branch 'master' into fix/solving_issues_rit_workflow
fmacleal Sep 24, 2024
6c970ff
Merge pull request #2724 from rsksmart/fix/solving_issues_rit_workflow
Vovchyk Sep 24, 2024
4c372ba
fix(MaxInitcodeSize): fix NPE in transactionCost() method
Vovchyk Sep 20, 2024
642406b
fix(MaxInitcodeSize): add and update unit tests
Vovchyk Sep 20, 2024
29408dc
Merge pull request #2744 from rsksmart/vovchyk/initcode-limit-feature…
Vovchyk Sep 25, 2024
4e1b870
build: bump jackson version
Vovchyk Sep 10, 2024
e0cb416
refactor: improve logging
Vovchyk Sep 13, 2024
a808164
chore: increase min supported java version to 17
Vovchyk Jul 19, 2024
d27c6b9
Merge pull request #2715 from rsksmart/vovchyk/jackson-ver-bump
Vovchyk Sep 25, 2024
87d4895
Merge pull request #2624 from rsksmart/vovchyk/min-java-ver-bump
Vovchyk Sep 25, 2024
325020d
chore: add java21 support
Vovchyk Jul 24, 2024
2cc5bef
chore: run unit tests for java21 in workflow
Vovchyk Jul 30, 2024
2a0d333
Merge pull request #2640 from rsksmart/vovchyk/java21-support
Vovchyk Sep 25, 2024
3059c4c
Merge remote-tracking branch 'origin/master' into vovchyk/master-rski…
Vovchyk Sep 25, 2024
ecbb0ad
feat(pte): fix unit tests after merge from master
Vovchyk Sep 26, 2024
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
172 changes: 80 additions & 92 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,33 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container:
image: openjdk:8-jdk
steps:
- uses: actions/checkout@v4
- name: Setup System Tools
run: |
apt update -y
apt install -y gnupg2 curl

- name: Setup Java & Gradle
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'

- name: Verify files
run: |
curl -sSL https://secchannel.rsk.co/SUPPORT.asc | gpg2 --import -
gpg2 --verify SHA256SUMS.asc && sha256sum --check SHA256SUMS.asc

- uses: actions/cache@v4
name: Cache Gradle
id: cache-gradle
name: Cache Gradle Wrapper
id: cache-gradle-wrapper
with:
path: |
.gradle/caches
gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Get gradle wrapper and build dependencies
if: steps.cache-gradle.outputs.cache-hit != 'true'
gradle/wrapper/gradle-wrapper.jar
key: gradle-wrapper-v1

- name: Get Gradle wrapper
if: steps.cache-gradle-wrapper.outputs.cache-hit != 'true'
run: |
./configure.sh
./gradlew --no-daemon dependencies

- name: Build
run: |
Expand All @@ -56,36 +53,27 @@ jobs:
rskj-core/build

smell-test:
needs: unit-tests
needs: unit-tests-java17
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Java JDK
uses: actions/setup-java@v3
- name: Setup Java & Gradle
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'

- uses: actions/cache@v4
name: Restore Gradle cache
id: cache-gradle
- uses: actions/cache/restore@v4
name: Restore Gradle Wrapper
with:
path: |
.gradle/caches
gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Get gradle wrapper and build dependencies
run: |
if [ ! -f gradle/wrapper/gradle-wrapper.jar ]; then
./configure.sh
./gradlew --no-daemon dependencies
fi
gradle/wrapper/gradle-wrapper.jar
key: gradle-wrapper-v1
fail-on-cache-miss: true

- name: Download build artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -192,28 +180,20 @@ jobs:
run: |
node --unhandled-rejections=strict generateBtcBlocks.js

- name: Setup Java JDK
uses: actions/setup-java@v3
- name: Setup Java & Gradle
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'

- uses: actions/cache@v4
name: Cache Gradle
id: cache-gradle
- uses: actions/cache/restore@v4
name: Restore Gradle Wrapper
with:
path: |
.gradle/caches
gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Get gradle wrapper and build dependencies
if: steps.cache-gradle.outputs.cache-hit != 'true'
run: |
./configure.sh
./gradlew --no-daemon dependencies
gradle/wrapper/gradle-wrapper.jar
key: gradle-wrapper-v1
fail-on-cache-miss: true

- name: Download build artifacts
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -247,35 +227,26 @@ jobs:
npm test
kill $rskpid

unit-tests:
unit-tests-java17:
needs: build
runs-on: ubuntu-latest
container:
image: openjdk:8-jdk
steps:
- uses: actions/checkout@v4

- name: Setup System Tools
run: |
apt update -y
apt install -y curl
- name: Setup Java & Gradle
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'

- uses: actions/cache@v4
name: Cache Gradle
id: cache-gradle
- uses: actions/cache/restore@v4
name: Restore Gradle Wrapper
with:
path: |
.gradle/caches
gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Get gradle wrapper and build dependencies
if: steps.cache-gradle.outputs.cache-hit != 'true'
run: |
./configure.sh
./gradlew --no-daemon dependencies
gradle/wrapper/gradle-wrapper.jar
key: gradle-wrapper-v1
fail-on-cache-miss: true

- name: Run tests
run: |
Expand All @@ -295,34 +266,51 @@ jobs:
path: |
rskj-core/build/reports/

integration-tests:
unit-tests-java21:
needs: build
runs-on: ubuntu-latest
container:
image: openjdk:8-jdk
steps:
- uses: actions/checkout@v4

- name: Setup System Tools
run: |
apt update -y
apt install -y curl
- name: Setup Java & Gradle
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
cache: 'gradle'

- uses: actions/cache@v4
name: Cache Gradle
id: cache-gradle
- uses: actions/cache/restore@v4
name: Restore Gradle Wrapper
with:
path: |
.gradle/caches
gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-

- name: Get gradle wrapper and build dependencies
if: steps.cache-gradle.outputs.cache-hit != 'true'
gradle/wrapper/gradle-wrapper.jar
key: gradle-wrapper-v1
fail-on-cache-miss: true

- name: Run tests
run: |
./configure.sh
./gradlew --no-daemon dependencies
./gradlew --no-daemon --stacktrace test

integration-tests:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Java & Gradle
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
cache: 'gradle'

- uses: actions/cache/restore@v4
name: Restore Gradle Wrapper
with:
path: |
gradle/wrapper/gradle-wrapper.jar
key: gradle-wrapper-v1
fail-on-cache-miss: true

- name: Run tests
run: |
Expand Down
13 changes: 10 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,27 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Java JDK
if: ${{ matrix.language == 'java' }}
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

- name: Before Index (java)
if: ${{ matrix.language == 'java' }}
run: ./configure.sh

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
queries: +security-and-quality

- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{ matrix.language }}"
Loading