Skip to content

Commit 71570dd

Browse files
authored
Merge pull request #61 from iotaledger/develop
Develop
2 parents e211e69 + 4f38a0c commit 71570dd

File tree

86 files changed

+9644
-142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+9644
-142
lines changed

.cargo/audit.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[advisories]
2+
ignore = [
3+
"RUSTSEC-2023-0071", # temporary ignore until fix is provided
4+
"RUSTSEC-2024-0437", # protobuf uncontrolled recursion https://github.com/iotaledger/iota/issues/5861
5+
]
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
issues=false
2+
pr-wo-labels=false
3+
author=false
4+
breaking-label=### Changed
5+
breaking-labels=Breaking change
6+
enhancement-label=### Added
7+
enhancement-labels=Added
8+
bugs-label=### Patch
9+
bug-labels=Patch
10+
deprecated-prefix=### Deprecated
11+
deprecated-labels=Deprecated
12+
removed-prefix=### Removed
13+
removed-labels=Removed
14+
exclude-labels=Documentation,No changelog
15+
include-labels=Rust
16+
verbose=true

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 84 additions & 84 deletions
Original file line numberDiff line numberDiff line change
@@ -3,87 +3,87 @@ description: File a bug report
33
title: "[Bug]: "
44
labels: "bug"
55
body:
6-
- type: markdown
7-
attributes:
8-
value: Before raising an issue, please search for existing [issues](https://github.com/iotaledger/notarization/labels/bug) to avoid creating duplicates. For questions and support please use [Discord](https://discord.iota.org).
9-
- type: textarea
10-
id: bug-description
11-
attributes:
12-
label: Bug description
13-
description: Summarize the bug encountered concisely
14-
validations:
15-
required: true
16-
- type: textarea
17-
id: expected-behavior
18-
attributes:
19-
label: Expected behavior
20-
description: Describe what you should see instead
21-
- type: dropdown
22-
id: can_repro
23-
attributes:
24-
label: Can the issue reliably be reproduced?
25-
options:
26-
- 'Yes'
27-
- 'No'
28-
validations:
29-
required: true
30-
- type: input
31-
id: example-repository
32-
attributes:
33-
label: Example repository
34-
description: If possible, please create a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug and link it here in the bug report.
35-
- type: textarea
36-
id: steps-to-reproduce
37-
attributes:
38-
label: Steps to reproduce
39-
description: Describe the steps to reproduce the issue
40-
placeholder: |
41-
1.
42-
2.
43-
3.
44-
- type: dropdown
45-
id: language
46-
attributes:
47-
label: Language
48-
description: What programming language are you using?
49-
options:
50-
- Rust
51-
- WASM
52-
- Node.js
53-
- Python
54-
- Java
55-
- C
56-
- Go
57-
validations:
58-
required: true
59-
- type: input
60-
id: language-version
61-
attributes:
62-
label: Language Version
63-
description: Which version of the language did you use?
64-
placeholder: v1.0.0
65-
validations:
66-
required: true
67-
- type: input
68-
id: version
69-
attributes:
70-
label: Version
71-
description: Which version of our software are you using?
72-
placeholder: version number, commit and/or branch
73-
validations:
74-
required: true
75-
- type: textarea
76-
id: hardware
77-
attributes:
78-
label: Hardware specifications
79-
description: What hardware are you using?
80-
value: |
81-
- Operating system:
82-
- RAM:
83-
- Cores:
84-
- Device:
85-
- type: textarea
86-
id: anything-else
87-
attributes:
88-
label: Additional info
89-
description: Let us know if you have any additional info like logs, erros or screenshots
6+
- type: markdown
7+
attributes:
8+
value: Before raising an issue, please search for existing [issues](https://github.com/iotaledger/notarization/labels/bug) to avoid creating duplicates. For questions and support please use [Discord](https://discord.iota.org).
9+
- type: textarea
10+
id: bug-description
11+
attributes:
12+
label: Bug description
13+
description: Summarize the bug encountered concisely
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: expected-behavior
18+
attributes:
19+
label: Expected behavior
20+
description: Describe what you should see instead
21+
- type: dropdown
22+
id: can_repro
23+
attributes:
24+
label: Can the issue reliably be reproduced?
25+
options:
26+
- "Yes"
27+
- "No"
28+
validations:
29+
required: true
30+
- type: input
31+
id: example-repository
32+
attributes:
33+
label: Example repository
34+
description: If possible, please create a [minimal, reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) of the bug and link it here in the bug report.
35+
- type: textarea
36+
id: steps-to-reproduce
37+
attributes:
38+
label: Steps to reproduce
39+
description: Describe the steps to reproduce the issue
40+
placeholder: |
41+
1.
42+
2.
43+
3.
44+
- type: dropdown
45+
id: language
46+
attributes:
47+
label: Language
48+
description: What programming language are you using?
49+
options:
50+
- Rust
51+
- WASM
52+
- Node.js
53+
- Python
54+
- Java
55+
- C
56+
- Go
57+
validations:
58+
required: true
59+
- type: input
60+
id: language-version
61+
attributes:
62+
label: Language Version
63+
description: Which version of the language did you use?
64+
placeholder: v1.0.0
65+
validations:
66+
required: true
67+
- type: input
68+
id: version
69+
attributes:
70+
label: Version
71+
description: Which version of our software are you using?
72+
placeholder: version number, commit and/or branch
73+
validations:
74+
required: true
75+
- type: textarea
76+
id: hardware
77+
attributes:
78+
label: Hardware specifications
79+
description: What hardware are you using?
80+
value: |
81+
- Operating system:
82+
- RAM:
83+
- Cores:
84+
- Device:
85+
- type: textarea
86+
id: anything-else
87+
attributes:
88+
label: Additional info
89+
description: Let us know if you have any additional info like logs, erros or screenshots

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
3-
- name: Join our Discord
4-
url: https://discord.iota.org/
5-
about: Chat with the devs and the IF community
3+
- name: Join our Discord
4+
url: https://discord.iota.org/
5+
about: Chat with the devs and the IF community

.github/ISSUE_TEMPLATE/feature_request.yml

Lines changed: 42 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,45 @@ description: Request a feature
33
title: "[Request]: "
44
labels: "request"
55
body:
6-
- type: markdown
7-
attributes:
8-
value: Before requesting a feature, please search for existing [feature requests](https://github.com/iotaledger/notarization/labels/request) to avoid creating duplicates.
9-
- type: textarea
10-
id: feature-description
11-
attributes:
12-
label: Feature description
13-
description: Briefly describe the feature that you are requesting.
14-
validations:
15-
required: true
16-
- type: textarea
17-
id: motivation
18-
attributes:
19-
label: Motivation
20-
description: Explain why this feature is needed.
21-
validations:
22-
required: true
23-
- type: textarea
24-
id: requirements
25-
attributes:
26-
label: Requirements
27-
description: Write a list of what you want this feature to do.
28-
placeholder: |
29-
1.
30-
2.
31-
3.
32-
validations:
33-
required: true
34-
- type: textarea
35-
id: open-questions
36-
attributes:
37-
label: Open questions
38-
description: Use this section to ask any questions that are related to the feature.
39-
- type: dropdown
40-
id: pull-request
41-
attributes:
42-
label: Are you planning to do it yourself in a pull request?
43-
options:
44-
- 'Yes'
45-
- 'No'
46-
validations:
47-
required: true
6+
- type: markdown
7+
attributes:
8+
value: Before requesting a feature, please search for existing [feature requests](https://github.com/iotaledger/notarization/issues) to avoid creating duplicates.
9+
- type: textarea
10+
id: feature-description
11+
attributes:
12+
label: Feature description
13+
description: Briefly describe the feature that you are requesting.
14+
validations:
15+
required: true
16+
- type: textarea
17+
id: motivation
18+
attributes:
19+
label: Motivation
20+
description: Explain why this feature is needed.
21+
validations:
22+
required: true
23+
- type: textarea
24+
id: requirements
25+
attributes:
26+
label: Requirements
27+
description: Write a list of what you want this feature to do.
28+
placeholder: |
29+
1.
30+
2.
31+
3.
32+
validations:
33+
required: true
34+
- type: textarea
35+
id: open-questions
36+
attributes:
37+
label: Open questions
38+
description: Use this section to ask any questions that are related to the feature.
39+
- type: dropdown
40+
id: pull-request
41+
attributes:
42+
label: Are you planning to do it yourself in a pull request?
43+
options:
44+
- "Yes"
45+
- "No"
46+
validations:
47+
required: true
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: "load-keytool"
2+
description: "Load Keytool"
3+
inputs:
4+
network:
5+
description: "Network to configure"
6+
required: true
7+
pk:
8+
description: "Private key to load into Keytool"
9+
required: true
10+
faucet:
11+
description: "Whether to faucet"
12+
required: true
13+
14+
runs:
15+
using: "composite"
16+
steps:
17+
- name: Load PK into Keytool
18+
shell: bash
19+
run: |
20+
iota keytool import $(iota keytool convert ${{inputs.pk}} --json | jq -r '.bech32WithFlag') ed25519 --alias deploy-key
21+
22+
case ${{inputs.network}} in
23+
devnet)
24+
RPC=https://api.devnet.iota.cafe
25+
;;
26+
27+
testnet)
28+
RPC=https://api.testnet.iota.cafe
29+
;;
30+
31+
mainnet)
32+
RPC=https://api.mainnet.iota.cafe
33+
;;
34+
35+
*)
36+
echo "unknown network ${{inputs.network}}"
37+
exit 1
38+
;;
39+
esac
40+
41+
iota client new-env --alias ${{inputs.network}} --rpc $RPC
42+
iota client switch --env ${{inputs.network}}
43+
iota client switch --address deploy-key
44+
45+
if [ ${{inputs.faucet}} == "true" ]; then
46+
iota client faucet
47+
# wait up tp 5min for Gas to be available
48+
timeout 5m bash -c "until (( $(iota client gas --json | jq -r 'first | .nanosBalance') > 0 )); do sleep 10; done"
49+
fi

0 commit comments

Comments
 (0)