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

[WIP] [Contracts] Early payment proofs #681

Merged
merged 26 commits into from
Aug 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
bcac466
add types and beginnings of signature utils
yeastplume Apr 18, 2023
cc25ede
add proof serialization
yeastplume Apr 19, 2023
7bd3f75
serialisation of proof data + signature operation
yeastplume Apr 21, 2023
39dc90e
add serialization type for invoice proof + separate bin wrapper version
yeastplume Apr 24, 2023
625a132
add witness data + serializion to invoice payment proof, insert verfi…
yeastplume Apr 24, 2023
83a06e0
tests and infrastructure in place for validation
yeastplume Apr 25, 2023
10139b7
verification of promise sig
yeastplume Apr 25, 2023
66a6c0f
added verification of promise signature, infrastructure up to the poi…
yeastplume Apr 27, 2023
7524366
attempting to figure out differences between recipient nonce that's g…
yeastplume May 17, 2023
47e6c85
implementation of witness verification function, retrieve relevant va…
yeastplume May 18, 2023
b96561d
move stored portion of invoice proof into core types for storage, nee…
yeastplume May 23, 2023
284916b
define/refine the stored portion of payment proofs type 2?
yeastplume May 23, 2023
25d4f04
Folding all proof data into tx log entry storage
yeastplume May 24, 2023
0a613a7
back to importing master
yeastplume May 26, 2023
c02d272
remove cargo files from diffs
yeastplume May 26, 2023
31fd3eb
remove a lot of extra debug output
yeastplume May 26, 2023
58ccb5c
return proof witness as part of proof retrieval, define json serializ…
yeastplume May 26, 2023
ebbd6d7
finish adding verification steps to foreign API
yeastplume May 26, 2023
7d98d1d
remove redundant promise sig field
yeastplume May 26, 2023
843d0a4
move lcation of sign/verify calls
yeastplume Jun 13, 2023
586db6f
Replace Azure Pipelines with Github Actions (#688)
quentinlesceller Aug 1, 2023
5be191b
Update CI Badge on README.MD (#690)
quentinlesceller Aug 1, 2023
dac31b3
Trigger CI on push and pull request (#693)
quentinlesceller Aug 2, 2023
12a25f8
Update versioning to 5.2.0-beta.1 against grin 5.2.0-beta.3 (#691)
yeastplume Aug 3, 2023
2d6df1a
merge
yeastplume Aug 8, 2023
be486c5
merge from contracts branch
yeastplume Aug 8, 2023
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
28 changes: 0 additions & 28 deletions .ci/general-jobs

This file was deleted.

53 changes: 0 additions & 53 deletions .ci/release.yml

This file was deleted.

14 changes: 0 additions & 14 deletions .ci/test.yml

This file was deleted.

58 changes: 0 additions & 58 deletions .ci/windows-release.yml

This file was deleted.

73 changes: 73 additions & 0 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
name: Continuous Deployment

on:
push:
tags:
- "v*.*.*"

jobs:
linux-release:
name: Linux Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build --release
- name: Archive
working-directory: target/release
run: tar -czvf grin-wallet-${{ github.ref_name }}-linux-x86_64.tar.gz grin-wallet
- name: Create Checksum
working-directory: target/release
run: openssl sha256 grin-wallet-${{ github.ref_name }}-linux-x86_64.tar.gz > grin-wallet-${{ github.ref_name }}-linux-x86_64-sha256sum.txt
- name: Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
files: |
target/release/grin-wallet-${{ github.ref_name }}-linux-x86_64.tar.gz
target/release/grin-wallet-${{ github.ref_name }}-linux-x86_64-sha256sum.txt

macos-release:
name: macOS Release
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: cargo build --release
- name: Archive
working-directory: target/release
run: tar -czvf grin-wallet-${{ github.ref_name }}-macos-x86_64.tar.gz grin-wallet
- name: Create Checksum
working-directory: target/release
run: openssl sha256 grin-wallet-${{ github.ref_name }}-macos-x86_64.tar.gz > grin-wallet-${{ github.ref_name }}-macos-x86_64-sha256sum.txt
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
target/release/grin-wallet-${{ github.ref_name }}-macos-x86_64.tar.gz
target/release/grin-wallet-${{ github.ref_name }}-macos-x86_64-sha256sum.txt

windows-release:
name: Windows Release
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Build
run: cargo build --release
- name: Archive
uses: vimtor/action-zip@v1
with:
files: target/release/grin-wallet.exe
dest: target/release/grin-wallet-${{ github.ref_name }}-win-x86_64.zip
- name: Create Checksum
working-directory: target/release
shell: pwsh
run: get-filehash -algorithm sha256 grin-wallet-${{ github.ref_name }}-win-x86_64.zip | Format-List |  Out-String | ForEach-Object { $_.Trim() } > grin-wallet-${{ github.ref_name }}-win-x86_64-sha256sum.txt
- name: Release
uses: softprops/action-gh-release@v1
with:
files: |
target/release/grin-wallet-${{ github.ref_name }}-win-x86_64.zip
target/release/grin-wallet-${{ github.ref_name }}-win-x86_64-sha256sum.txt
33 changes: 33 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Continuous Integration
on: [push, pull_request]

jobs:
linux-tests:
name: Linux Tests
runs-on: ubuntu-latest
strategy:
matrix:
job_args: [api, config, controller, impls, libwallet, .]
steps:
- uses: actions/checkout@v3
- name: Test ${{ matrix.job_args }}
working-directory: ${{ matrix.job_args }}
run: cargo test --release

macos-tests:
name: macOS Tests
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Tests
run: cargo test --release --all

windows-tests:
name: Windows Tests
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Tests
run: cargo test --release --all
Loading