Skip to content

Commit

Permalink
Oxford (#59)
Browse files Browse the repository at this point in the history
* Init

* Add RPC queries

* Update SonarCloud

* Add new built-in entrypoints encoding

---------

Co-authored-by: Maksim Strebkov <257byte@gmail.com>
  • Loading branch information
dmirgaleev and Groxan authored Feb 5, 2024
1 parent 9b01131 commit ec0da16
Show file tree
Hide file tree
Showing 24 changed files with 614 additions and 55 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/sonar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,23 @@ jobs:
runs-on: windows-latest
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
steps:
- name: Set up JDK 11
uses: actions/setup-java@v1
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 1.11
- uses: actions/checkout@v2
java-version: 17
distribution: 'zulu' # Alternative distribution options are available.
- uses: actions/checkout@v3
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Cache SonarCloud packages
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: ~\sonar\cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache SonarCloud scanner
id: cache-sonar-scanner
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: .\.sonar\scanner
key: ${{ runner.os }}-sonar-scanner
Expand All @@ -44,6 +45,6 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
shell: powershell
run: |
.\.sonar\scanner\dotnet-sonarscanner begin /k:"baking-bad_netezos" /o:"baking-bad" /d:sonar.login="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
.\.sonar\scanner\dotnet-sonarscanner begin /k:"baking-bad_netezos" /o:"baking-bad" /d:sonar.token="${{ secrets.SONAR_TOKEN }}" /d:sonar.host.url="https://sonarcloud.io"
dotnet build
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.login="${{ secrets.SONAR_TOKEN }}"
.\.sonar\scanner\dotnet-sonarscanner end /d:sonar.token="${{ secrets.SONAR_TOKEN }}"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
01e718a85baa15b9fe3b790c9243c7b6b30b2fba0c3ae9cf6f5b77bf1003d2b9ca00db887dcabb32df6cca7b1b9868a2c5c30b515930b205d20dd9270056c42edcfd8aa00947958add0ef0ff8dad2db54433fc3a7143ada987f9d9baa68f4a4aea7bc24eeb17bc6633185b5a03a00b70b3
01e718a85baa15b9fe3b790c9243c7b6b30b2fba0c3ae9cf6f5b77bf1003d2b9ca00db887dcabb32df6cca7b1b9868a2c5c30b515930b205d20dd9270056c42edcfd8aa00947958add0ef0ff8dad2db544
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@
"counter": "1746",
"gas_limit": "5081",
"storage_limit": "0",
"rollup": "sr1Dx83Z5A5HtXqcyNeWWRSFNQsHrhnMEr9G",
"commitment": "src12sCt2773PKWveYdi4g16DcYNYEk3PPf5yFWV4vYMfvZek67Guo"
"rollup": "sr1Dx83Z5A5HtXqcyNeWWRSFNQsHrhnMEr9G"
}
]
}
6 changes: 0 additions & 6 deletions Netezos.Tests/Netezos.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,4 @@
<ProjectReference Include="../Netezos/Netezos.csproj" />
</ItemGroup>

<ItemGroup>
<None Update="Rpc\settings_ithaca.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>

</Project>
2 changes: 2 additions & 0 deletions Netezos.Tests/Rpc/SettingsFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public class SettingsFixture : IDisposable
public string TestEntrypoint { get; }
public string TestDelegate { get; }
public string TestInactive { get; }
public string TestSmartRollup { get; }
public string KeyHash { get; }
public int BigMapId { get; }

Expand All @@ -27,6 +28,7 @@ public SettingsFixture()
TestEntrypoint = settings.TestEntrypoint;
TestDelegate = settings.TestDelegate;
TestInactive = settings.TestInactive;
TestSmartRollup = settings.TestSmartRollup;
KeyHash = settings.KeyHash;
BigMapId = settings.BigMapId;
}
Expand Down
Loading

0 comments on commit ec0da16

Please sign in to comment.