Skip to content

Commit

Permalink
fix: Update discussions (#663)
Browse files Browse the repository at this point in the history
* Update General.yml

add block number option on general template

* Update Deployments.yml

Remove extra text boxes and streamlined questions to ask necessary questions

* Update Compilers.yml

update links and clean up explain the issue

* Update Contract-Verification.yml

Update docs links

* Update Deployments.yml

update the docs links

* Update Feature-requests.yml

update spelling on ZKsync and add ZK Stack

* Update General.yml

Update docs link

* Update SDKs.yml

Update sdk docs link

* Update SDKs.yml

Update SDK docs link

* Update SDKs.yml

fix format

* Update SDKs.yml
  • Loading branch information
bxpana authored Aug 20, 2024
1 parent c7bded0 commit 66b6351
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 68 deletions.
11 changes: 2 additions & 9 deletions .github/DISCUSSION_TEMPLATE/Compilers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,8 @@ body:
value: |
## Check the docs!
Have you check these sections of the docs?
- [Differences from Ethereum](https://era.zksync.io/docs/dev/building-on-zksync/contracts/differences-with-ethereum.html)
- [Compiler Documentation](https://docs.zksync.io/zk-stack/components/compiler/toolchain/overview.html#ir-compilers)
- [Compiler zksolc](https://docs.zksync.io/zk-stack/components/compiler/toolchain/solidity.html)
- [Compiler zkvyper](https://docs.zksync.io/zk-stack/components/compiler/toolchain/vyper.html)
- [Configure hardhat-zksolc](https://docs.zksync.io/build/tooling/hardhat/hardhat-zksync-solc.html)
- [Configure hardhat-zkvyper](https://docs.zksync.io/build/tooling/hardhat/hardhat-zksync-vyper.html)
- [Compiler Documentation](https://docs.zksync.io/zk-stack/components/compiler/toolchain)
- type: checkboxes
attributes:
label: Which compiler are you using?
Expand All @@ -36,9 +32,6 @@ body:
id: issue
attributes:
label: Explain the issue
value: |
...
render: bash
validations:
required: true
- type: input
Expand Down
5 changes: 2 additions & 3 deletions .github/DISCUSSION_TEMPLATE/Contract-Verification.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ body:
value: |
## Check the docs!
Before proceeding, please check these links for contract verification help:
- [Verifying contracts using the zkSync Era block explorer](https://era.zksync.io/docs/api/tools/block-explorer/contract-verification.html#verifying-contracts-using-the-zksync-era-block-explorer)
- [Verifying contracts using the hardhat-zksync-verify plugin](https://era.zksync.io/docs/api/hardhat/hardhat-zksync-verify.html)
- [Verifying contracts using the hardhat-zksync-verify-vyper plugin](https://docs.zksync.io/build/tooling/hardhat/hardhat-zksync-verify-vyper.html)
- [Verifying contracts using the hardhat-zksync-verify plugin](https://docs.zksync.io/build/tooling/hardhat/hardhat-zksync-verify)
- [Verifying contracts using the hardhat-zksync-verify-vyper plugin](https://docs.zksync.io/build/tooling/hardhat/hardhat-zksync-verify-vyper)
- type: dropdown
id: environment
attributes:
Expand Down
53 changes: 14 additions & 39 deletions .github/DISCUSSION_TEMPLATE/Deployments.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ body:
value: |
## Check the docs!
Before proceeding, please check these links for contract verification help:
- [Differences from Ethereum](https://era.zksync.io/docs/dev/building-on-zksync/contracts/differences-with-ethereum.html)
- [Contract Deployment](https://era.zksync.io/docs/dev/building-on-zksync/contracts/contract-deployment.html)
- [Quickstart Tutorial](https://era.zksync.io/docs/dev/building-on-zksync/hello-world.html)
- [Contract Deployment Differences from Ethereum](https://docs.zksync.io/build/developer-reference/ethereum-differences/contract-deployment)
- [ZKsync 101 Tutorial](https://docs.zksync.io/build/start-coding/zksync-101)
- type: dropdown
id: environment
Expand All @@ -20,6 +19,14 @@ body:
- Mainnet
validations:
required: true

- type: input
id: block-number
attributes:
label: L2 block number
description: Provide the L2 block number if applicable to your issue.
validations:
required: false

- type: input
id: zksolc-version
Expand All @@ -34,40 +41,16 @@ body:
label: zksync-ethers Version
validations:
required: true

- type: textarea
id: hardhat-config
attributes:
label: Hardhat.config.ts
render: javascript
validations:
required: true

- type: textarea
id: deployment-script
id: min-rep-ex
attributes:
label: Deployment Script (WITHOUT PRIVATE KEY)
render: javascript
label: Minimal Reproducible Code or Repo Link
description: Please provide a minimal code example so that we can reproduce the issue or a link to your repo with the issues.
validations:
required: true

- type: textarea
id: package-json
attributes:
label: Package.json
render: json
validations:
required: true

- type: textarea
id: contract-code
attributes:
label: Contract Code
render: solidity
validations:
required: true

- type: textarea
- type: input
id: other-evms
attributes:
label: Does this work on other EVMs? (If yes, please list at least 1 of them)
Expand All @@ -78,14 +61,6 @@ body:
id: contract-description
attributes:
label: Description of What Your Contract Does
validations:
required: true

- type: input
id: repo-link
attributes:
label: Repo Link (Optional)
description: Though not mandatory, sharing a repository link with a README that details how to replicate the issue and the errors you're encountering will significantly expedite our support process.
validations:
required: false

Expand Down
6 changes: 3 additions & 3 deletions .github/DISCUSSION_TEMPLATE/Feature-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ body:
label: Network
options:
-
- zkSync Lite
- zkSync Era
- Both
- ZKsync Lite
- ZKsync Era
- ZK Stack
validations:
required: true

Expand Down
14 changes: 10 additions & 4 deletions .github/DISCUSSION_TEMPLATE/General.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@ body:
attributes:
value: |
## Check the docs!
Before proceeding, please check these links for general help:
- [Differences from Ethereum](https://era.zksync.io/docs/dev/building-on-zksync/contracts/differences-with-ethereum.html)
- [Fee mechanism](https://era.zksync.io/docs/dev/developer-guides/transactions/fee-model.html)
- [FAQ](https://docs.zksync.io/build/support/faq.html)
Before proceeding, please check this link for general help:
- [Developer Reference](https://docs.zksync.io/build/developer-reference)
- type: dropdown
id: environment
Expand All @@ -20,6 +18,14 @@ body:
validations:
required: true

- type: input
id: block-number
attributes:
label: L2 block number
description: Provide the L2 block number if applicable to your issue.
validations:
required: false

- type: textarea
id: functionality-description
attributes:
Expand Down
15 changes: 5 additions & 10 deletions .github/DISCUSSION_TEMPLATE/SDKs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,15 @@ body:
attributes:
value: |
## Check the docs!
Before proceeding, please check these links for SDK help:
- [JavaScript SDK](https://era.zksync.io/docs/api/js)
- [Python SDK](https://era.zksync.io/docs/api/python)
- [Java SDK](https://era.zksync.io/docs/api/java)
- [Go SDK](https://era.zksync.io/docs/api/go)
- [Swift SDK](https://docs.zksync.io/build/sdks/swift/getting-started.html)
- [Rust SDK](https://docs.zksync.io/build/sdks/rust/getting-started.html)
Before proceeding, please check this link for SDK help:
- [SDK Documentation](https://sdk.zksync.io/)
- type: dropdown
- type: dropdown
id: type
attributes:
label: Select the SDK
options:
-
-
- JavaScript
- Python
- Java
Expand All @@ -33,7 +28,7 @@ body:
attributes:
label: Environment
options:
-
-
- Testnet
- Mainnet
validations:
Expand Down

0 comments on commit 66b6351

Please sign in to comment.