Skip to content

Commit

Permalink
Merge pull request #310 from yungwine/main
Browse files Browse the repository at this point in the history
update links for py examples in proofs article
  • Loading branch information
Gusarich authored Jul 31, 2023
2 parents 305b402 + 64818ae commit c0a1b19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/develop/data-formats/proofs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ assert h_proof.refs[0].get_hash(0) == block_id.root_hash
```
Now, we can trust all other data, this Cell contains

_Checking Proof Examples:_ [Python](https://github.com/yungwine/tonpylib/blob/master/tonpylib/proof/check_proof.py#L33), [Kotlin](https://github.com/andreypfau/ton-kotlin/blob/b1edc4b134e89ccf252149f27c85fd530377cebe/ton-kotlin-liteclient/src/commonMain/kotlin/CheckProofUtils.kt#L15), [C++](https://github.com/ton-blockchain/ton/blob/24dc184a2ea67f9c47042b4104bbb4d82289fac1/crypto/block/check-proof.cpp#L34)
_Checking Proof Examples:_ [Python](https://github.com/yungwine/pytoniq/blob/master/pytoniq/proof/check_proof.py#L33), [Kotlin](https://github.com/andreypfau/ton-kotlin/blob/b1edc4b134e89ccf252149f27c85fd530377cebe/ton-kotlin-liteclient/src/commonMain/kotlin/CheckProofUtils.kt#L15), [C++](https://github.com/ton-blockchain/ton/blob/24dc184a2ea67f9c47042b4104bbb4d82289fac1/crypto/block/check-proof.cpp#L34)

## Full Block

Expand Down Expand Up @@ -279,7 +279,7 @@ Now, let's deserialize the second Cell:

Since we trust this Cell we can trust the Shard Block data (`ShardStateUnsplit` -> `custom` -> `shard_hashes` -> `0 (shrdblk wc)` -> `leaf`).

_Checking Proof Examples:_ [Python](https://github.com/yungwine/tonpylib/blob/master/tonpylib/proof/check_proof.py#L43), [C++](https://github.com/ton-blockchain/ton/blob/24dc184a2ea67f9c47042b4104bbb4d82289fac1/crypto/block/check-proof.cpp#L104)
_Checking Proof Examples:_ [Python](https://github.com/yungwine/pytoniq/blob/master/pytoniq/proof/check_proof.py#L43), [C++](https://github.com/ton-blockchain/ton/blob/24dc184a2ea67f9c47042b4104bbb4d82289fac1/crypto/block/check-proof.cpp#L104)

## Account State

Expand Down Expand Up @@ -564,7 +564,7 @@ And deserialize it according to the [Account](https://github.com/ton-blockchain/

Now we can trust this account state data.

_Checking Proof Examples:_ [Python](https://github.com/yungwine/tonpylib/blob/master/tonpylib/proof/check_proof.py#L87), [Kotlin](https://github.com/andreypfau/ton-kotlin/blob/b1edc4b134e89ccf252149f27c85fd530377cebe/ton-kotlin-liteclient/src/commonMain/kotlin/CheckProofUtils.kt#L37), [C++](https://github.com/ton-blockchain/ton/blob/24dc184a2ea67f9c47042b4104bbb4d82289fac1/crypto/block/check-proof.cpp#L161)
_Checking Proof Examples:_ [Python](https://github.com/yungwine/pytoniq/blob/master/pytoniq/proof/check_proof.py#L87), [Kotlin](https://github.com/andreypfau/ton-kotlin/blob/b1edc4b134e89ccf252149f27c85fd530377cebe/ton-kotlin-liteclient/src/commonMain/kotlin/CheckProofUtils.kt#L37), [C++](https://github.com/ton-blockchain/ton/blob/24dc184a2ea67f9c47042b4104bbb4d82289fac1/crypto/block/check-proof.cpp#L161)

## Account transactions

Expand Down

0 comments on commit c0a1b19

Please sign in to comment.