From e5f774e25b1b72839038d660ef0dbe4413d04400 Mon Sep 17 00:00:00 2001 From: bxpana <42230936+bxpana@users.noreply.github.com> Date: Thu, 9 May 2024 15:38:02 +0100 Subject: [PATCH] chore: Update templates (#520) * chore: update templates Update general template and add more to description about providing repo links * chore: update more templates change compiler, contract-verification, and SDK to be update --- .github/DISCUSSION_TEMPLATE/Compilers.yml | 2 ++ .../Contract-Verification.yml | 14 +++++++- .github/DISCUSSION_TEMPLATE/SDKs.yml | 34 ++++++++++--------- 3 files changed, 33 insertions(+), 17 deletions(-) diff --git a/.github/DISCUSSION_TEMPLATE/Compilers.yml b/.github/DISCUSSION_TEMPLATE/Compilers.yml index 41b5cdc..60d2b2a 100644 --- a/.github/DISCUSSION_TEMPLATE/Compilers.yml +++ b/.github/DISCUSSION_TEMPLATE/Compilers.yml @@ -6,6 +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) diff --git a/.github/DISCUSSION_TEMPLATE/Contract-Verification.yml b/.github/DISCUSSION_TEMPLATE/Contract-Verification.yml index 5b6f15e..d623df3 100644 --- a/.github/DISCUSSION_TEMPLATE/Contract-Verification.yml +++ b/.github/DISCUSSION_TEMPLATE/Contract-Verification.yml @@ -8,6 +8,7 @@ body: 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) - type: dropdown id: environment attributes: @@ -18,7 +19,18 @@ body: - Mainnet validations: required: true - + + - type: dropdown + id: version + attributes: + label: Block Explorer + options: + - + - https://explorer.zksync.io/ + - https://era.zksync.network/ + validations: + required: true + - type: checkboxes id: issue-type attributes: diff --git a/.github/DISCUSSION_TEMPLATE/SDKs.yml b/.github/DISCUSSION_TEMPLATE/SDKs.yml index dda000d..5f46e62 100644 --- a/.github/DISCUSSION_TEMPLATE/SDKs.yml +++ b/.github/DISCUSSION_TEMPLATE/SDKs.yml @@ -10,30 +10,32 @@ body: - [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) - - - type: dropdown - id: environment + - [Swift SDK](https://docs.zksync.io/build/sdks/swift/getting-started.html) + - [Rust SDK](https://docs.zksync.io/build/sdks/rust/getting-started.html) + + - type: dropdown + id: type attributes: - label: Environment + label: Select the SDK options: - - - Testnet - - Mainnet + - JavaScript + - Python + - Java + - Go + - Swift + - Rust validations: required: true - - type: markdown - attributes: - value: | - #### ⚠️ Note - We are currently updating the Go SDK. You may encounter errors when trying things out. Apologies for the inconvenience, we will update the documentation in due course. - - - type: checkboxes - id: sdk-updates-acknowledgement + - type: dropdown + id: environment attributes: - label: Acknowledgement + label: Environment options: - - label: I understand that issues are expected with the Go SDK as they are being updated. + - + - Testnet + - Mainnet validations: required: true