Skip to content

Commit

Permalink
fixed crypto root ca certificate value in test
Browse files Browse the repository at this point in the history
  • Loading branch information
tenmoves committed Apr 25, 2023
1 parent cf030e5 commit fec2f12
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 17 deletions.
21 changes: 7 additions & 14 deletions config/test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,13 @@ config :archethic, Archethic.Crypto,
186, 81, 243, 58, 13, 198, 129, 169, 33, 179, 201, 50, 49, 67, 38, 156, 38, 199, 97, 59,
70, 95, 28, 35, 233, 21, 230>>
],
software:
case System.get_env("ARCHETHIC_NETWORK_TYPE") do
"testnet" ->
[]

_ ->
[
secp256r1:
<<4, 210, 136, 107, 189, 140, 118, 86, 124, 217, 244, 69, 111, 61, 56, 224, 56, 150,
230, 194, 203, 81, 213, 212, 220, 19, 1, 180, 114, 44, 230, 149, 21, 125, 69, 206,
32, 173, 186, 81, 243, 58, 13, 198, 129, 169, 33, 179, 201, 50, 49, 67, 38, 156,
38, 199, 97, 59, 70, 95, 28, 35, 233, 21, 230>>
]
end
software: [
secp256r1:
<<4, 210, 136, 107, 189, 140, 118, 86, 124, 217, 244, 69, 111, 61, 56, 224, 56, 150, 230,
194, 203, 81, 213, 212, 220, 19, 1, 180, 114, 44, 230, 149, 21, 125, 69, 206, 32, 173,
186, 81, 243, 58, 13, 198, 129, 169, 33, 179, 201, 50, 49, 67, 38, 156, 38, 199, 97, 59,
70, 95, 28, 35, 233, 21, 230>>
]
]

config :archethic, MockCrypto.NodeKeystore, enabled: false
Expand Down
6 changes: 3 additions & 3 deletions scripts/governance/proposal_ci_job.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ echo "=== Run CI -- 6 -- knigge"
mix knigge.verify

echo "=== Run CI -- 7 -- test"
#MIX_ENV=test mix test --trace
MIX_ENV=test mix test --trace

echo "=== Run CI -- 8 -- dialyzer"
#mix dialyzer
mix dialyzer

echo "=== Run CI -- 9 -- updates"
#mix check.updates
mix check.updates

echo "=== Run CI DONE ==="

Expand Down

0 comments on commit fec2f12

Please sign in to comment.