Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add smart contract quiz fixes #13776 #14162

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from

Conversation

CryptoDelirium
Copy link

@CryptoDelirium CryptoDelirium commented Oct 13, 2024

Accidentally closed previous PR #13981. References issue #13776.

Quiz content added. Linked quiz to global counter

In collab with @JanetMo

@github-actions github-actions bot added content 🖋️ This involves copy additions or edits translation 🌍 This is related to our Translation Program labels Oct 13, 2024
Copy link

netlify bot commented Oct 13, 2024

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 1c796ee
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/67ea77d766b08400080fa270
😎 Deploy Preview https://deploy-preview-14162--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 50 (🔴 down 14 from production)
Accessibility: 95 (🟢 up 1 from production)
Best Practices: 89 (🔴 down 9 from production)
SEO: 98 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@Shiva-Sai-ssb
Copy link
Contributor

Hey @TC1211 / @Qwerky7835, the smart contract quiz is working as expected on the quizzes page, but it is not functioning properly on the smart contracts page.

See the screenshot below to see how the quiz appears on the page, or you can view how the quiz appears in the deploy preview link (https://deploy-preview-14162--ethereumorg.netlify.app) provided by the Netlify bot.

smart-contracts

To fix this, refer to the suggestion provided here: #13704 (comment).

Additionally, reference the issue number in the PR description you are referring to.

@github-actions github-actions bot added the tooling 🔧 Changes related to tooling of the project label Oct 19, 2024
@CryptoDelirium
Copy link
Author

Fixed the quiz widget on the smart contract page.

@konopkja konopkja added needs dev approval 🧑‍💻 Approval from a developer is needed before merging needs review 👀 and removed translation 🌍 This is related to our Translation Program tooling 🔧 Changes related to tooling of the project labels Oct 28, 2024
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity.

@github-actions github-actions bot added the Status: Stale This issue is stale because it has been open 30 days with no activity. label Nov 28, 2024
@github-actions github-actions bot added tooling 🔧 Changes related to tooling of the project translation 🌍 This is related to our Translation Program labels Mar 25, 2025
Copy link
Member

@wackerow wackerow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Solid work everyone! Thanks to @Qwerky7835 @CryptoDelirium @Shiva-Sai-ssb @JanetMo for helping with this... Apologies for delays so far.

Left a round of comments which I think will take this over the line. @CryptoDelirium would you be capable/interested in making some updates?

"defi-5-d-explanation": "This is incorrect. DeFi apps don’t need traditional financial institutions. They use blockchain programs called smart contracts to handle transactions automatically."
"defi-5-d-explanation": "This is incorrect. DeFi apps don’t need traditional financial institutions. They use blockchain programs called smart contracts to handle transactions automatically.",
"smart-contracts-1-prompt": "How are smart contracts characterized?",
"smart-contracts-1-a-label": "Smart contracts are just like real (paper) contracts, but stored digitally on the blockchain to save the content securely.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider:

Suggested change
"smart-contracts-1-a-label": "Smart contracts are just like real (paper) contracts, but stored digitally on the blockchain to save the content securely.",
"smart-contracts-1-a-label": "Legal contracts, stored securely on the blockchain",

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no legal weight behind smart contracts right? Maybe just stick to "digital contracts"?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no legal weight by default, correct. This is a suggestion for an incorrect answer choice though, not the correct answer.

"smart-contracts-1-a-explanation": "Smart contracts use a similar logic to traditional contracts, but otherwise have little in common.",
"smart-contracts-1-b-label": "They are linked to an AI system, which allows them to make decisions that trigger blockchain transactions.",
"smart-contracts-1-b-explanation": "Smart contracts can actually execute transactions automatically, but only according to an ‘if this then that’ logic that is prescribed in the code. They do not use AI.",
"smart-contracts-1-c-label": "They are programs stored on the blockchain that follow an 'if this then that' logic, and are guaranteed to execute according to the rules defined by the code.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider:

Suggested change
"smart-contracts-1-c-label": "They are programs stored on the blockchain that follow an 'if this then that' logic, and are guaranteed to execute according to the rules defined by the code.",
"smart-contracts-1-c-label": "Onchain programs following 'if-this-then-that' logic, guaranteed to execute according to its own rules",

...although that still feels a touch long.

@JanetMo
Copy link
Contributor

JanetMo commented Mar 29, 2025

@wackerow Thanks for reviewing. From my side, feel free to implement the suggestions, sounds very good.

@github-actions github-actions bot removed the Status: Stale This issue is stale because it has been open 30 days with no activity. label Mar 30, 2025
CryptoDelirium and others added 5 commits March 31, 2025 12:51
Copy link
Author

@CryptoDelirium CryptoDelirium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I applied most of the changes. Some others I left comments and suggestions on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content 🖋️ This involves copy additions or edits needs dev approval 🧑‍💻 Approval from a developer is needed before merging needs review 👀 tooling 🔧 Changes related to tooling of the project translation 🌍 This is related to our Translation Program
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants