Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into contract-update
Browse files Browse the repository at this point in the history
  • Loading branch information
limemloh committed Jan 26, 2024
2 parents 6c73ae1 + 990045f commit fff63cd
Show file tree
Hide file tree
Showing 7 changed files with 24 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test-format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ env:
jobs:
rustfmt:

runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v4
Expand All @@ -29,7 +29,7 @@ jobs:
rustclippy-build-test:

runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
publish-docs:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:

jobs:
build-native-ubuntu:
runs-on: ubuntu-latest
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:

build-and-release:
needs: [build-native-ubuntu, build-native-macos, build-native-windows]
runs-on: ubuntu-latest
runs-on: ubuntu-20.04
environment: release

steps:
Expand Down
20 changes: 13 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
## Unreleased changes
- Added
- New GRPC-endpoint: `GetBlockItems`
- New transactions: `DeployModule` and `UpdateContract`.
- The function `Prepare` has been removed from the `AccountTransactionPayload` class, but is implemented for all subclasses except `RawPayload`.
- Added serialization and deserialization for all instances of `AccountTransactionPayload`.

- Breaking
- The function `GetTransactionSpecificCost` has been removed from the `AccountTransactionPayload` class.
- Bugfix
- Switched the GitHub runners from using 'ubuntu-latest' to 'ubuntu-20.04' to ensure compatibility with the default .NET 6 Docker image for the SDK.
- Added
- New GRPC-endpoint: `GetBlockItems`
- New transactions: `DeployModule` and `UpdateContract`.
- The function `Prepare` has been removed from the `AccountTransactionPayload` class, but is implemented for all subclasses except `RawPayload`.
- Added serialization and deserialization for all instances of `AccountTransactionPayload`
- Breaking
- The function `GetTransactionSpecificCost` has been removed from the `AccountTransactionPayload` class.

## 4.2.1
- Bugfix
- Fix wrong build of rust dependencies which made the interops call not work on iOS.

## 4.2.0
- Deserialization from module schema
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Currently, helpers for working with transactions of the [`Transfer`](http://deve

- .NET Framework: 6.0 or later.
- Concordium Node version compatibility: 6.*
- On macOS currently only dotnet x86 runtimes are supported.

## Installation

Expand Down
5 changes: 4 additions & 1 deletion rust-bindings/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ exclude = ["test-data/*"]

[lib]
name="rust_bindings"
crate-type = ["dylib"]
crate-type = ["cdylib"]

[dependencies]
anyhow="1.0"
Expand All @@ -18,3 +18,6 @@ concordium-contracts-common = { version = "8.1.1", features = ["derive-serde"],

[dev-dependencies]
hex = "0.4"

[profile.release]
rpath = true
2 changes: 1 addition & 1 deletion src/Concordium.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<PackageTags>concordium;concordium-net-sdk;blockchain;sdk;</PackageTags>
<Company>Concordium</Company>
<PackageId>ConcordiumNetSdk</PackageId>
<Version>4.2.0</Version>
<Version>4.2.1</Version>
<PackageIcon>icon.png</PackageIcon>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageLicenseExpression>MPL-2.0</PackageLicenseExpression>
Expand Down

0 comments on commit fff63cd

Please sign in to comment.