File tree 4 files changed +3
-127
lines changed
developers/writing-onchain-code
4 files changed +3
-127
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ This section shows you how to write session code and smart contracts in Rust and
14
14
| Title | Description |
15
15
| ------------------------------------------- | ------------------------------- |
16
16
| [ Getting Started with Rust] ( ./getting-started.md ) | An introduction to using Rust with the Casper Platform|
17
- | [ Getting Started with AssemblyScript] ( ./assembly-script.md ) | An introduction to using AssemblyScript with the Casper Platform |
18
17
| [ Writing a Basic Smart Contract in Rust] ( ./simple-contract.md ) | An example of a smart contract built in Rust|
19
18
| [ Unit Testing Smart Contracts] ( ./testing-contracts.md ) | Steps to test contract code using the unit testing framework|
20
19
| [ Upgrading and Maintaining Smart Contracts] ( ./upgrading-contracts.md ) | An introduction to versioning smart contracts|
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ Calling the `add_bid` entry point on the auction contract has a fixed cost of 2.
66
66
67
67
** Example:**
68
68
69
- This example command uses the Casper Testnet to bid 10 ,000 CSPR for a validating slot:
69
+ This example command uses the Casper Testnet to bid 100 ,000 CSPR for a validating slot:
70
70
71
71
``` bash
72
72
sudo -u casper casper-client put-deploy \
@@ -77,7 +77,7 @@ sudo -u casper casper-client put-deploy \
77
77
--session-hash hash-93d923e336b20a4c4ca14d592b60e5bd3fe330775618290104f9beb326db7ae2 \
78
78
--session-entry-point add_bid \
79
79
--session-arg " public_key:public_key='01c297d2931fec7e22b2fb1ae3ca5afdfacc2c82ba501e8ed158eecef82b4dcdee'" \
80
- --session-arg " amount:U512='$[100000000 * 1000000000]'" \
80
+ --session-arg " amount:U512='$[100000 * 1000000000]'" \
81
81
--session-arg " delegation_rate:u8='10'"
82
82
```
83
83
@@ -137,7 +137,7 @@ sudo -u casper casper-client put-deploy \
137
137
--payment-amount 3000000000 \
138
138
--session-path ~ /casper-node/target/wasm32-unknown-unknown/release/add_bid.wasm \
139
139
--session-arg " public_key:public_key='01c297d2931fec7e22b2fb1ae3ca5afdfacc2c82ba501e8ed158eecef82b4dcdee'" \
140
- --session-arg " amount:U512='$[10000 * 1000000000]'" \
140
+ --session-arg " amount:U512='$[100000 * 1000000000]'" \
141
141
--session-arg " delegation_rate:u8='10'"
142
142
```
143
143
Original file line number Diff line number Diff line change @@ -214,5 +214,4 @@ Here is a summary of the links mentioned on this page:
214
214
- [ Confirming that the node is synchronized] ( ./joining.md#step-7-confirm-the-node-is-synchronized )
215
215
- [ Monitoring and consuming events] ( ../../developers/dapps/monitor-and-consume-events.md )
216
216
- [ Private network access control] ( ../setup-network/create-private.md#network-access-control )
217
- - [ FAQs for a basic validator node ] ( https://support.casperlabs.io/hc/en-gb/sections/6960448246683-Node-Operation-FAQ )
218
217
- [ External FAQs on Mainnet and Testnet validator node setup] ( https://docs.cspr.community/docs/faq-validator.html )
You can’t perform that action at this time.
0 commit comments