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

Fix typos #11851

Merged
merged 10 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions public/content/developers/docs/oracles/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ contract Oracle {
uint currentQuorum = 0;

//iterate through oracle list and check if enough oracles(minimum quorum)
//have voted the same answer has the current one
//have voted the same answer as the current one
for(uint i = 0; i < totalOracleCount; i++){
bytes memory a = bytes(currRequest.answers[i]);
bytes memory b = bytes(_valueRetrieved);
Expand Down Expand Up @@ -236,7 +236,7 @@ Centralized oracles aren't guaranteed to always make off-chain data available to

#### Poor incentive compatibility {#poor-incentive-compatibility}

Centralized oracles often have poorly designed or non-existent incentives for the data provider to send accurate/unaltered information. Paying an oracle for for correctness does not guarantee honesty. This problem gets bigger as the amount of value controlled by smart contracts increases.
Centralized oracles often have poorly designed or non-existent incentives for the data provider to send accurate/unaltered information. Paying an oracle for correctness does not guarantee honesty. This problem gets bigger as the amount of value controlled by smart contracts increases.

### Decentralized oracles {#decentralized-oracles}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ if (window.ethereum != null) {
try {
// Request account access if needed
await window.ethereum.enable()
// Acccounts now exposed
// Accounts now exposed
} catch (error) {
// User denied account access...
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ if (window.ethereum != null) {
try {
// Request account access if needed
await window.ethereum.enable()
// Acccounts now exposed
// Accounts now exposed
} catch (error) {
// User denied account access...
}
Expand Down
2 changes: 1 addition & 1 deletion src/intl/pcm/page-layer-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"layer-2-optimistic-rollups-description": "Optimistic rollups are 'optimistic' when we see say transactions dey assumed to be valid, but dem fit challenge am if e need. If dem suspect an invalid transactions, dem fit run fault proof to see if e don take place.",
"layer-2-optimistic-rollups-childSentance": "More on optimistic rollups",
"layer-2-zk-rollups-title": "Zero-knowledge rollups",
"layer-2-zk-rollups-description": "Zero knowledge rollups dey use validity proofs where the transactons dey offcahin and the the data wey dem compress go go ethereum mainnet as proof of their validity.",
"layer-2-zk-rollups-description": "Zero knowledge rollups dey use validity proofs where the transactons dey offcahin and the data wey dem compress go go ethereum mainnet as proof of their validity.",
"layer-2-zk-rollups-childSentance": "More tori for ZK-rollups",
"layer-2-dyor-title": "Make yor own research: kasala for layer 2",
"layer-2-dyor-1": "Plenty layer 2 projects dey young and dem still need make users trust some operators make dem talk true on the decentralized networks. make you dey do your own research to take know if you dey comfortable with any risk involved.",
Expand Down