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

go-algorand 4.0.0-beta Release PR #6208

Merged
merged 18 commits into from
Dec 20, 2024
Merged
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
0bc3d7e
CI: update reviewdog warning linter job (#6175)
cce Nov 21, 2024
f54f099
Merge pull request #6178 from Algo-devops-service/relstable3.27.0
algojohnlee Nov 25, 2024
92e0e00
refactor: replace experimental `maps` and `slices` with stdlib (#6179)
Juneezee Nov 25, 2024
a8cb2c2
Merge remote-tracking branch 'origin/rel/stable' into relstable3.27.0…
Algo-devops-service Nov 26, 2024
0a13501
Bump Version, Remove buildnumber.dat and genesistimestamp.dat files.
Algo-devops-service Nov 26, 2024
7e562c3
Merge pull request #6181 from Algo-devops-service/relstable3.27.0-rem…
algojohnlee Nov 26, 2024
b7b3e5e
chore: fix some problematic function names (#6184)
hishope Dec 3, 2024
b0f1396
chore: fix some function name in comment (#6192)
needsure Dec 10, 2024
f87ae8a
ledger: add callback to clear state between commitRound retries (#6190)
cce Dec 10, 2024
548e3f6
AVM: new teal opcodes for the MiMC hash function to support Zero Know…
giuliop Dec 16, 2024
a625d03
CI: update reviewdog config for deprecated fail_on_error (#6196)
cce Dec 19, 2024
fcad0bb
Eval: Feature/heartbeats (#6189)
jannotti Dec 19, 2024
a896dfd
Doc: voter balance version fix (#6205)
jannotti Dec 19, 2024
38ce41c
build(deps): bump golang.org/x/crypto from 0.29.0 to 0.31.0 (#6203)
dependabot[bot] Dec 19, 2024
2e043df
Specs: Commits spec changes made in specs repo (#6206)
jannotti Dec 20, 2024
a10b6b3
catchpoints: Add onlineaccounts and onlineroundparamstail tables to s…
cce Dec 20, 2024
a1137a2
Consensus: Consensus version v40, set major release to 4 and reset mi…
gmalouf Dec 20, 2024
89109d8
Update the Version, BuildNumber, genesistimestamp.data
Algo-devops-service Dec 20, 2024
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
Prev Previous commit
Next Next commit
AVM: new teal opcodes for the MiMC hash function to support Zero Know…
…ledge Proofs (#5978)

Co-authored-by: John Jannotti <jannotti@gmail.com>
  • Loading branch information
giuliop and jannotti authored Dec 16, 2024
commit 548e3f6f7c6421a108b40d0a9df80686ffec5ade
2 changes: 1 addition & 1 deletion cmd/opdoc/opdoc.go
Original file line number Diff line number Diff line change
@@ -443,7 +443,7 @@ func create(file string) *os.File {
}

func main() {
const docVersion = uint64(10)
const docVersion = uint64(11)

opGroups := make(map[string][]string, len(logic.OpSpecs))
for grp, names := range logic.OpGroups {
13 changes: 13 additions & 0 deletions data/transactions/logic/README.md
Original file line number Diff line number Diff line change
@@ -463,6 +463,8 @@ these results may contain leading zero bytes.
| `keccak256` | Keccak256 hash of value A, yields [32]byte |
| `sha512_256` | SHA512_256 hash of value A, yields [32]byte |
| `sha3_256` | SHA3_256 hash of value A, yields [32]byte |
| `sumhash512` | sumhash512 of value A, yields [64]byte |
| `falcon_verify` | for (data A, compressed-format signature B, pubkey C) verify the signature of data against the pubkey |
| `ed25519verify` | for (data A, signature B, pubkey C) verify the signature of ("ProgData" \|\| program_hash \|\| data) against the pubkey => {0 or 1} |
| `ed25519verify_bare` | for (data A, signature B, pubkey C) verify the signature of the data against the pubkey => {0 or 1} |
| `ecdsa_verify v` | for (data A, signature B, C and pubkey D, E) verify the signature of the data against the pubkey => {0 or 1} |
@@ -475,6 +477,7 @@ these results may contain leading zero bytes.
| `ec_multi_scalar_mul g` | for curve points A and scalars B, return curve point B0A0 + B1A1 + B2A2 + ... + BnAn |
| `ec_subgroup_check g` | 1 if A is in the main prime-order subgroup of G (including the point at infinity) else 0. Program fails if A is not in G at all. |
| `ec_map_to g` | maps field element A to group G |
| `mimc c` | MiMC hash of scalars A, using curve and parameters specified by configuration C |

### Loading Values

@@ -631,6 +634,11 @@ Global fields are fields that are common to all the transactions in the group. I
| 15 | AssetCreateMinBalance | uint64 | v10 | The additional minimum balance required to create (and opt-in to) an asset. |
| 16 | AssetOptInMinBalance | uint64 | v10 | The additional minimum balance required to opt-in to an asset. |
| 17 | GenesisHash | [32]byte | v10 | The Genesis Hash for the network. |
| 18 | PayoutsEnabled | bool | v11 | Whether block proposal payouts are enabled. |
| 19 | PayoutsGoOnlineFee | uint64 | v11 | The fee required in a keyreg transaction to make an account incentive eligible. |
| 20 | PayoutsPercent | uint64 | v11 | The percentage of transaction fees in a block that can be paid to the block proposer. |
| 21 | PayoutsMinBalance | uint64 | v11 | The minimum algo balance an account must have in the agreement round to receive block payouts in the proposal round. |
| 22 | PayoutsMaxBalance | uint64 | v11 | The maximum algo balance an account can have in the agreement round to receive block payouts in the proposal round. |


**Asset Fields**
@@ -694,6 +702,9 @@ Account fields used in the `acct_params_get` opcode.
| 9 | AcctTotalAssets | uint64 | v8 | The numbers of ASAs held by this account (including ASAs this account created). |
| 10 | AcctTotalBoxes | uint64 | v8 | The number of existing boxes created by this account's app. |
| 11 | AcctTotalBoxBytes | uint64 | v8 | The total number of bytes used by this account's app's box keys and values. |
| 12 | AcctIncentiveEligible | bool | v11 | Has this account opted into block payouts |
| 13 | AcctLastProposed | uint64 | v11 | The round number of the last block this account proposed. |
| 14 | AcctLastHeartbeat | uint64 | v11 | The round number of the last block this account sent a heartbeat. |


### Flow Control
@@ -744,6 +755,8 @@ Account fields used in the `acct_params_get` opcode.
| `asset_params_get f` | X is field F from asset A. Y is 1 if A exists, else 0 |
| `app_params_get f` | X is field F from app A. Y is 1 if A exists, else 0 |
| `acct_params_get f` | X is field F from account A. Y is 1 if A owns positive algos, else 0 |
| `voter_params_get f` | X is field F from online account A as of the balance round: 320 rounds before the current round. Y is 1 if A had positive algos online in the agreement round, else Y is 0 and X is a type specific zero-value |
| `online_stake` | the total online stake in the agreement round |
| `log` | write A to log state of the current application |
| `block f` | field F of block A. Fail unless A falls between txn.LastValid-1002 and txn.FirstValid (exclusive) |

Loading