|
1 | | -defmodule AnomaSDK.Arm.Test do |
| 1 | +defmodule Anoma.Arm.Test do |
2 | 2 | @moduledoc """ |
3 | 3 | I define a few functions to test the ARM repo NIF interface. |
4 | 4 | """ |
5 | 5 |
|
6 | | - mix_config = Mix.Project.config() |
7 | | - version = mix_config[:version] |
8 | | - github_url = mix_config[:package][:links]["GitHub"] |
9 | | - |
10 | | - use RustlerPrecompiled, |
| 6 | + use Rustler, |
11 | 7 | otp_app: :anoma_sdk, |
12 | | - crate: :arm_bindings_test, |
13 | | - base_url: "#{github_url}/releases/download/v#{version}", |
14 | | - version: version, |
15 | | - force_build: System.get_env("BUILD_NATIVE") in ["1", "true"] |
16 | | - |
17 | | - alias AnomaSDK.Arm.Action |
18 | | - alias AnomaSDK.Arm.AppData |
19 | | - alias AnomaSDK.Arm.Ciphertext |
20 | | - alias AnomaSDK.Arm.ComplianceInstance |
21 | | - alias AnomaSDK.Arm.ComplianceUnit |
22 | | - alias AnomaSDK.Arm.ComplianceWitness |
23 | | - alias AnomaSDK.Arm.DeltaProof |
24 | | - alias AnomaSDK.Arm.DeltaWitness |
25 | | - alias AnomaSDK.Arm.ExpirableBlob |
26 | | - alias AnomaSDK.Arm.LogicVerifier |
27 | | - alias AnomaSDK.Arm.LogicVerifierInputs |
28 | | - alias AnomaSDK.Arm.MerklePath |
29 | | - alias AnomaSDK.Arm.MerkleTree |
30 | | - alias AnomaSDK.Arm.Resource |
31 | | - alias AnomaSDK.Arm.Transaction |
| 8 | + crate: :arm_bindings_test |
| 9 | + |
| 10 | + alias Anoma.Arm.Action |
| 11 | + alias Anoma.Arm.AppData |
| 12 | + alias Anoma.Arm.Ciphertext |
| 13 | + alias Anoma.Arm.ComplianceInstance |
| 14 | + alias Anoma.Arm.ComplianceUnit |
| 15 | + alias Anoma.Arm.ComplianceWitness |
| 16 | + alias Anoma.Arm.DeltaProof |
| 17 | + alias Anoma.Arm.DeltaWitness |
| 18 | + alias Anoma.Arm.ExpirableBlob |
| 19 | + alias Anoma.Arm.LogicVerifier |
| 20 | + alias Anoma.Arm.LogicVerifierInputs |
| 21 | + alias Anoma.Arm.MerklePath |
| 22 | + alias Anoma.Arm.MerkleTree |
| 23 | + alias Anoma.Arm.Resource |
| 24 | + alias Anoma.Arm.Transaction |
32 | 25 |
|
33 | 26 | # ----------------------------------------------------------------------------# |
34 | 27 | # SecretKey # |
|
0 commit comments