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

SECP256k1 support #4368

Merged
merged 42 commits into from
Apr 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
fe75d82
Initial core support for SECP256k1 verification
kozross Jan 25, 2022
96f1a65
Add SECP256k1 builtins for plutus-tx
kozross Jan 25, 2022
8385d7e
Merge branch 'master' into koz/secp256k1
kozross Jan 31, 2022
ddbadaa
Ensure tests for SECP256k1 pass
kozross Feb 1, 2022
f318f1a
Merge branch 'master' into koz/secp256k1
kozross Feb 1, 2022
f404533
Merge branch 'master' into koz/secp256k1
kozross Feb 3, 2022
a7f3864
Use upstream cardano-base again
kozross Feb 3, 2022
34917a5
Merge branch 'master' of https://github.com/input-output-hk/plutus in…
effectfully Feb 5, 2022
cee6a8a
Fix a semantic conflict, fix 'stack'
effectfully Feb 5, 2022
4aad145
Merge pull request #2 from input-output-hk/mlabs-haskell-koz/secp256k1
kozross Feb 6, 2022
4693f32
Use EvaluationResult instead of Identity for Emit tracing
kozross Feb 6, 2022
c2602c0
Merge branch 'master' into koz/secp256k1
kozross Feb 8, 2022
f906b7c
Merge branch 'master' into koz/secp256k1
kozross Feb 21, 2022
35e3f7c
Attempt to bump haskell.nix
kozross Feb 22, 2022
172c527
Merge branch 'master' into koz/secp256k1
kozross Feb 22, 2022
d1ff1a0
Try bumping nixpkgs
kozross Feb 22, 2022
fbde278
Ensure everything builds with newer cardano-base
kozross Feb 23, 2022
8248e51
Schnorr verification builtin and tests
kozross Feb 24, 2022
9234494
Rename old SECP builtin for clarity, add Schnorr builtin
kozross Feb 24, 2022
6531d47
Merge branch 'master' into koz/secp256k1
kozross Feb 28, 2022
22f0ee0
Add note about sequencing, Emitter and EvaluationFailure
kozross Feb 28, 2022
f3e50d6
Merge branch 'master' into koz/secp256k1
kozross Mar 1, 2022
58dae9c
Merge branch 'master' into koz/secp256k1
kozross Mar 2, 2022
05bffea
Aim at cardano-base master for Schnorr support
kozross Mar 2, 2022
e393b71
Merge branch 'master' into koz/secp256k1
kozross Mar 8, 2022
61802df
Ensure Windows can find libsecp256k1
kozross Mar 8, 2022
05a2e24
Fix parser
michaelpj Mar 9, 2022
da10c4c
Remove unused import
michaelpj Mar 9, 2022
48d35e3
Fix plugin
michaelpj Mar 9, 2022
b43101b
Fix extra
michaelpj Mar 9, 2022
62f06b2
Merge pull request #3 from michaelpj/mpj/fix-schnorr
kozross Mar 9, 2022
c2b8e1e
Merge branch 'master' into koz/secp256k1
kozross Mar 16, 2022
e8efd94
Fix Windows build issues, update to use new Emitter
kozross Mar 17, 2022
8235576
Merge branch 'koz/secp256k1' of github.com:mlabs-haskell/plutus into …
kozross Mar 17, 2022
f825469
Renumber builtins to avoid clashes
kozross Mar 17, 2022
ff89ede
Merge branch 'master' into koz/secp256k1
kozross Mar 17, 2022
bc61887
Ensure the SECP builtins are shown as available
kozross Mar 17, 2022
4931531
Merge branch 'master' into koz/secp256k1
kozross Apr 19, 2022
511e9d3
Ensure plutus-tx-plugin names SECP builtins properly
kozross Apr 20, 2022
e39461b
Merge branch 'master' into koz/secp256k1
kozross Apr 21, 2022
fc7f918
Merge branch 'master' into koz/secp256k1
kozross Apr 24, 2022
6dadeaa
Roll back deconstructorData2 golden test
kozross Apr 24, 2022
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
2 changes: 1 addition & 1 deletion cabal.project
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ source-repository-package
source-repository-package
type: git
location: https://github.com/input-output-hk/cardano-base
tag: 0b1b5b37e305c4bb10791f843bc8c81686a0cba4
tag: 1587462ac8b2e50af2691f5ad93d3c2aa4674ed1
subdir:
base-deriving-via
binary
Expand Down
6 changes: 3 additions & 3 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion nix/pkgs/haskell/haskell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ let
inherit checkMaterialization;
sha256map = {
"https://github.com/Quid2/flat.git"."ee59880f47ab835dbd73bea0847dab7869fc20d8" = "1lrzknw765pz2j97nvv9ip3l1mcpf2zr4n56hwlz0rk7wq7ls4cm";
"https://github.com/input-output-hk/cardano-base"."0b1b5b37e305c4bb10791f843bc8c81686a0cba4" = "1z98f3m4skmqy782dpcpd3y0k7hccdrz5yl1fjgjs524swh4vv56";
"https://github.com/input-output-hk/cardano-base"."1587462ac8b2e50af2691f5ad93d3c2aa4674ed1" = "sha256-jrSDD2fXgHf4wo5THzfK/6tolvt8y9rNuJWYfBooqaQ=";
"https://github.com/input-output-hk/cardano-crypto.git"."07397f0e50da97eaa0575d93bee7ac4b2b2576ec" = "06sdx5ndn2g722jhpicmg96vsrys89fl81k8290b3lr6b1b0w4m3";
"https://github.com/input-output-hk/cardano-prelude"."fd773f7a58412131512b9f694ab95653ac430852" = "02jddik1yw0222wd6q0vv10f7y8rdgrlqaiy83ph002f9kjx7mh6";
"https://github.com/input-output-hk/Win32-network"."3825d3abf75f83f406c1f7161883c438dac7277d" = "19wahfv726fa3mqajpqdqhnl9ica3xmf68i254q45iyjcpj1psqx";
Expand Down Expand Up @@ -86,6 +86,7 @@ let
ln -s ${pkgs.buildPackages.gcc.cc}/x86_64-w64-mingw32/lib/libgcc_s_seh-1.dll $out/bin/libgcc_s_seh-1.dll
ln -s ${pkgs.buildPackages.gcc.cc}/x86_64-w64-mingw32/lib/libstdc++-6.dll $out/bin/libstdc++-6.dll
ln -s ${pkgs.windows.mcfgthreads}/bin/mcfgthread-12.dll $out/bin/mcfgthread-12.dll
ln -s ${pkgs.secp256k1}/bin/libsecp256k1-0.dll $out/bin/libsecp256k1-0.dll
'';
in
lib.mkIf (pkgs.stdenv.hostPlatform.isWindows) {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

93 changes: 47 additions & 46 deletions nix/pkgs/haskell/materialized-darwin/.plan.nix/plutus-tx.nix

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading