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

DRAFT Merge develop into o1js #14627

Closed
wants to merge 269 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
269 commits
Select commit Hold shift + click to select a range
624aeaf
Add tests for Stack
gltrost Mar 8, 2023
334882d
Use Generator library in Inputs.Stack tests
gltrost Mar 8, 2023
0ff3694
Remove polymorphic types in module For_tests.Stack
gltrost Apr 3, 2023
8d26f7c
Add tests for Stack
gltrost Mar 8, 2023
ca433ee
Use Generator library in Inputs.Stack tests
gltrost Mar 8, 2023
6ea93ce
Run make reformat to correct formatting
gltrost Mar 14, 2023
6283ae1
Add tests for Stack
gltrost Mar 8, 2023
fb95e90
Use Generator library in Inputs.Stack tests
gltrost Mar 8, 2023
4f27320
Merge branch 'gltrost/transaction_logic_stack_tests' of ssh://github.…
gltrost May 11, 2023
4d38b5b
Use Proof_cache for Test_zkapp_update tests
mrmr1993 Sep 1, 2023
9f524b3
Merge branch 'feature/proof-cache' into feature/use-proof-cache
mrmr1993 Sep 19, 2023
9feca63
Port app_state test proof-cache to a JSON file
mrmr1993 Sep 19, 2023
4d2cc75
Port delegate test proof-cache to a JSON file
mrmr1993 Sep 19, 2023
f582c3e
Port permissions test proof-cache to a JSON file
mrmr1993 Sep 19, 2023
6a706af
Port token_symbol proof-cache to a JSON file
mrmr1993 Sep 19, 2023
5b70f47
Port verification_key test proof-cache to a JSON file
mrmr1993 Sep 19, 2023
698987c
Port voting_for test proof-cache to a JSON file
mrmr1993 Sep 19, 2023
504ab6f
Port zkapp_uri test proof-cache to a JSON file
mrmr1993 Sep 19, 2023
c7e6ab7
Merge branch 'feature/proof-cache' into feature/use-proof-cache
mrmr1993 Sep 19, 2023
284cced
add alerts for stuck at catchup and bootstrap
Sep 25, 2023
877400a
Introduce PipelineTag and PipelineFilter modules which can help more …
dkijania Sep 26, 2023
e24ebc6
hardcode
dkijania Sep 26, 2023
ff8359b
pipeline
dkijania Sep 26, 2023
21e7ab7
Properly tag jobs
dkijania Sep 26, 2023
2b1f0dd
comp
dkijania Sep 26, 2023
141d6a6
move tag
dkijania Sep 26, 2023
38712a8
Revert "Auxiliary commit to revert individual files from 877400a0a0ed…
dkijania Sep 27, 2023
7c71a0c
format
dkijania Sep 28, 2023
26b4528
add timeout to invalid test
Sep 28, 2023
da74bb2
Merge branch 'berkeley' into alert/catchup-and-bootstrap-got-stuck
ghost-not-in-the-shell Sep 28, 2023
00e4064
add timeout to fuzzy zkapp tests
Sep 28, 2023
d6ba770
Merge branch 'berkeley' into fix/fuzzy-zkapp-tests-timeout
ghost-not-in-the-shell Sep 28, 2023
1477c03
Merge branch 'berkeley' into fix/fuzzy-zkapp-tests-timeout
ghost-not-in-the-shell Oct 2, 2023
a542334
Merge branch 'berkeley' into fix/fuzzy-zkapp-tests-timeout
ghost-not-in-the-shell Oct 2, 2023
051d117
Merge branch 'berkeley' into alert/catchup-and-bootstrap-got-stuck
ghost-not-in-the-shell Oct 2, 2023
c86cbc0
add logs for compute transaction-snark
Oct 2, 2023
bb15088
change log level to info
Oct 3, 2023
005cf5c
Merge branch 'berkeley' into fix/fuzzy-zkapp-tests-timeout
ghost-not-in-the-shell Oct 3, 2023
f87075f
Merge branch 'berkeley' into alert/catchup-and-bootstrap-got-stuck
ghost-not-in-the-shell Oct 3, 2023
9e9e1eb
Merge branch 'berkeley' into alert/catchup-and-bootstrap-got-stuck
ghost-not-in-the-shell Oct 4, 2023
1f452ad
Merge branch 'berkeley' into dkijania/move_te_to_stage_2
dkijania Oct 5, 2023
bb7f744
Merge branch 'berkeley' into fix/fuzzy-zkapp-tests-timeout
ghost-not-in-the-shell Oct 5, 2023
a1bb428
Update README.md to fix docs repo busted link
barriebyron Oct 5, 2023
7c7290f
Update README.md
barriebyron Oct 5, 2023
a4cc68d
[RFC] Genesis ledger export
Sventimir Sep 26, 2023
2f909c3
[RFC] Add epoch data to the exported hard fork config.
Sventimir Oct 2, 2023
ba12db3
[RFC] Mention compatibility issues between mainnet & berkeley.
Sventimir Oct 2, 2023
31dd230
Merge branch 'berkeley' into dkijania/move_te_to_stage_2
dkijania Oct 6, 2023
c425cb1
add alltests filter for backward compatibility
dkijania Oct 6, 2023
5efe58f
Internal docs for Mina_caqti
Oct 6, 2023
101627b
Merge branch 'develop' into sventimir/genesis-ledger-export
Sventimir Oct 9, 2023
5d9f27c
Pickles: add runtime table test
dannywillems Oct 9, 2023
c069189
Bump up proof-systems to feature/blinding-for-table_id
dannywillems Oct 9, 2023
0000369
Merge branch 'develop' into barriebyron-patch-1
barriebyron Oct 9, 2023
09d09a4
Update src/lib/mina_caqti/README.md
psteckler Oct 9, 2023
39efa6e
Update src/lib/mina_caqti/README.md
psteckler Oct 9, 2023
c215aac
Update src/lib/mina_caqti/README.md
psteckler Oct 9, 2023
ae7d17f
add missing word
Oct 9, 2023
d454e5b
Merge branch 'develop' into feature/mina-caqti-internal-docs
psteckler Oct 9, 2023
f508315
Merge branch 'berkeley' into dkijania/move_te_to_stage_2
dkijania Oct 9, 2023
1f25702
Chunking for public input
mrmr1993 Oct 10, 2023
e4837c8
Merge branch 'feature/more-chunks' into feature/even-more-chunks
mrmr1993 Oct 10, 2023
1e87339
Set the max_poly_size for the constraint system
mrmr1993 Oct 10, 2023
e95103a
Propagate the useful error message from rust
mrmr1993 Oct 10, 2023
9a0d0dc
Remove unnecessary max_poly_size from fq_plonk_index
mrmr1993 Oct 10, 2023
619adbc
Propagate step public input evals to the wrap proof
mrmr1993 Oct 10, 2023
bf2022e
Bump proof-systems for chunking bugfix
mrmr1993 Oct 10, 2023
8f54c63
Add num_chunks argument to Pickles.compile and friends
mrmr1993 Oct 10, 2023
035e9ff
Merge branch 'develop' into sventimir/genesis-ledger-export
Sventimir Oct 10, 2023
9efd655
Fix merges conflict
dkijania Oct 10, 2023
9a8a8ec
Merge branch 'berkeley' into dkijania/move_te_to_stage_2
dkijania Oct 10, 2023
162a788
Add zk_rows
mrmr1993 Oct 10, 2023
f309ad2
Merge branch 'develop' into feature/even-more-chunks
mrmr1993 Oct 10, 2023
45fc3d8
Merge branch 'feature/even-more-chunks' into feature/and-yet-more-chunks
mrmr1993 Oct 10, 2023
1e77eea
Use an array for public input evals
mrmr1993 Oct 10, 2023
7c7fa9d
Merge branch 'berkeley' into fix/fuzzy-zkapp-tests-timeout
ghost-not-in-the-shell Oct 10, 2023
d15044d
Merge branch 'berkeley' into alert/catchup-and-bootstrap-got-stuck
ghost-not-in-the-shell Oct 10, 2023
d4910ae
Route zk_rows through to constant_term evaluation
mrmr1993 Oct 10, 2023
3d6d2bb
Update proof-systems for a zk_rows variable
mrmr1993 Oct 10, 2023
88118ec
Rename variable to reflect zk_rows
mrmr1993 Oct 10, 2023
da7aab8
Bump proof-systems to appease clippy
mrmr1993 Oct 10, 2023
8343ec0
Rename variables
mrmr1993 Oct 10, 2023
743d077
Merge branch 'berkeley' into dkijania/move_te_to_stage_2
dkijania Oct 10, 2023
3e15f1a
Merge branch 'develop' into sventimir/genesis-ledger-export
Sventimir Oct 11, 2023
aead6fa
Merge pull request #14314 from MinaProtocol/feature/even-more-chunks
dannywillems Oct 11, 2023
0d307f6
Merge branch 'berkeley' into fix/fuzzy-zkapp-tests-timeout
ghost-not-in-the-shell Oct 11, 2023
fd43d8c
Merge branch 'berkeley' into alert/catchup-and-bootstrap-got-stuck
ghost-not-in-the-shell Oct 11, 2023
bac960c
Merge branch 'feat/o1js-add-mina-submodule-support' into feat/o1js-ad…
MartinMinkov Oct 11, 2023
f9c8dcc
Don't timeout if offline or bootstrapping before genesis
Oct 11, 2023
fc856f4
factor common code
Oct 11, 2023
22ddc3f
Fix naming error
mrmr1993 Oct 12, 2023
8ef3c2b
Compute zk_polynomial and vanishes_on_zero_knowledge_and_previous_rows
mrmr1993 Oct 12, 2023
3d7f8f8
Verify chunked step proofs in the wrap circuit
mrmr1993 Oct 12, 2023
9fd18e2
Merge branch 'feature/and-yet-more-chunks' into feature/surely-not-mo…
mrmr1993 Oct 12, 2023
8fb6e3d
Bump proof-systems for clippy annoyances
mrmr1993 Oct 12, 2023
9e50a5f
Merge branch 'develop' into feature/and-yet-more-chunks
mrmr1993 Oct 12, 2023
411687e
Merge branch 'feature/and-yet-more-chunks' into feature/and-yet-more-…
mrmr1993 Oct 12, 2023
085ba5b
Merge branch 'feature/and-yet-more-chunks' into feature/surely-not-mo…
mrmr1993 Oct 12, 2023
3ee519d
Bump proof-systems more; insert grumbling about clippy here
mrmr1993 Oct 12, 2023
b1e6a7f
Add docs for Processor, Load_data
Oct 12, 2023
948358b
Add comment for version linter script
Oct 12, 2023
d905bd9
Merge pull request #14238 from MinaProtocol/feat/o1js-add-mina-submod…
psteckler Oct 12, 2023
70c088c
Merge branch 'develop' into feature/mina-caqti-internal-docs
psteckler Oct 12, 2023
38665a4
Fixup Pickles.verify for chunked proofs
mrmr1993 Oct 13, 2023
97c30e5
Merge remote-tracking branch 'origin/develop' into gltrost/transactio…
joaosreis Oct 13, 2023
6e884aa
Fix recursion over chunked proofs
mrmr1993 Oct 14, 2023
66893df
Bump proof-systems
mrmr1993 Oct 14, 2023
3106deb
Add a test for chunking
mrmr1993 Oct 14, 2023
b707b1d
Merge branch 'develop' into sventimir/genesis-ledger-export
Sventimir Oct 16, 2023
a3a3c86
Add timeout to check-compatibility bootstrap phase
dkijania Oct 16, 2023
4b2e023
Merge pull request #14317 from MinaProtocol/feature/and-yet-more-chunks
mrmr1993 Oct 16, 2023
833ead2
update dirtyWhen
dkijania Oct 16, 2023
732814c
Merge branch 'berkeley' into dkijania/move_te_to_stage_2
dkijania Oct 16, 2023
089adc6
Revert "Add timeout to check-compatibility bootstrap phase"
dkijania Oct 16, 2023
7609b63
Merge branch 'develop' into dkijania/fix-develop-compatibility-job
dkijania Oct 16, 2023
560dc8e
Update src/app/archive/lib/processor.ml
barriebyron Oct 16, 2023
00af549
print logs from containers
dkijania Oct 16, 2023
4703298
Merge pull request #13861 from MinaProtocol/dkijania/move_te_to_stage_2
dkijania Oct 16, 2023
1e10156
Merge branch 'berkeley' into feature/ci-linter-doc
deepthiskumar Oct 16, 2023
a7e3673
Merge pull request #14336 from MinaProtocol/feature/ci-linter-doc
psteckler Oct 16, 2023
5b9dbb3
Merge pull request #14335 from MinaProtocol/feature/archive-processor…
psteckler Oct 16, 2023
50778d2
Merge branch 'develop' into feature/mina-caqti-internal-docs
psteckler Oct 16, 2023
93d01ae
Merge branch 'berkeley' into feature/no-offline-bootstrap-timeouts-be…
deepthiskumar Oct 16, 2023
7cc0fff
Merge branch 'develop' into barriebyron-patch-1
deepthiskumar Oct 16, 2023
b193f27
Merge pull request #14231 from MinaProtocol/fix/fuzzy-zkapp-tests-tim…
ghost-not-in-the-shell Oct 16, 2023
7f11feb
Merge branch 'berkeley' into feature/no-offline-bootstrap-timeouts-be…
psteckler Oct 16, 2023
520715b
Regenerate o1js bindings for zk_rows
mrmr1993 Oct 17, 2023
6d93f0e
Update test for zk_rows
mrmr1993 Oct 17, 2023
416925d
Update cached vk for new zk_rows
mrmr1993 Oct 17, 2023
86f2b93
Merge branch 'feature/surely-not-more-chunks' into feature/recursive-…
mrmr1993 Oct 17, 2023
780342e
Reformat
mrmr1993 Oct 17, 2023
b4be2ac
Re-update generated vk
mrmr1993 Oct 17, 2023
3887340
Merge branch 'feature/surely-not-more-chunks' into feature/recursive-…
mrmr1993 Oct 17, 2023
ecf32fa
Merge branch 'berkeley' into feature/use-proof-cache
mrmr1993 Oct 17, 2023
14c7581
Add PROOF_CACHE_OUT env var, and reset proof_cache.json files
mrmr1993 Oct 17, 2023
11d5ada
Add an ERROR_ON_PROOF env var to fail when the cache is skipped
mrmr1993 Oct 17, 2023
fa85395
Add README.md with caching info
mrmr1993 Oct 17, 2023
edd120b
Update proof_caches for latest berkeley
mrmr1993 Oct 17, 2023
a1db6b3
Merge branch 'berkeley' into feature/use-proof-cache
mrmr1993 Oct 17, 2023
61afcae
Add proof-cache for fee_payer and zkapp_deploy test
mrmr1993 Oct 17, 2023
837c5bb
Make zkapp_preconditions test deterministic, add proof-cache
mrmr1993 Oct 17, 2023
9986785
Make payments test deterministic, using a quickcheck generator
mrmr1993 Oct 17, 2023
57f53ca
Add proof-cache for zkapp_payments test
mrmr1993 Oct 17, 2023
1c38d90
Complicate code for review nitpick
mrmr1993 Oct 17, 2023
4678fec
Commit link in readme
mrmr1993 Oct 17, 2023
17c65d0
Merge branch 'berkeley' into alert/catchup-and-bootstrap-got-stuck
ghost-not-in-the-shell Oct 17, 2023
fbafea9
Fix CI on non-default base branches
mrmr1993 Oct 17, 2023
5039e62
add timeout_in_minutes to command
dkijania Oct 17, 2023
93c6ae7
Fix DirtyWhen attribute for snark profiler related changes
dkijania Oct 17, 2023
6540733
fix comma
dkijania Oct 17, 2023
08d678a
Merge pull request #14031 from MinaProtocol/feature/use-proof-cache
mrmr1993 Oct 17, 2023
807e8f5
Merge branch 'berkeley' into feature/no-offline-bootstrap-timeouts-be…
psteckler Oct 17, 2023
a64807a
Merge branch 'berkeley' into alert/catchup-and-bootstrap-got-stuck
ghost-not-in-the-shell Oct 17, 2023
27b35b8
Fix UNIQUE constraint for protocol versions
Oct 17, 2023
2825f09
Merge pull request #14358 from MinaProtocol/feature/use-proof-cache-more
mrmr1993 Oct 17, 2023
94ddfbf
Merge branch 'berkeley' into feature/no-offline-bootstrap-timeouts-be…
psteckler Oct 17, 2023
a7ec519
Merge branch 'berkeley' into fix/protocol-version-unique-constraint
psteckler Oct 17, 2023
2bbce00
Merge pull request #14328 from MinaProtocol/feature/no-offline-bootst…
psteckler Oct 17, 2023
e7c4166
Merge branch 'berkeley' into fix/protocol-version-unique-constraint
psteckler Oct 17, 2023
ebecbcb
Merge branch 'berkeley' into alert/catchup-and-bootstrap-got-stuck
ghost-not-in-the-shell Oct 17, 2023
1b997df
Merge pull request #14363 from MinaProtocol/fix/protocol-version-uniq…
psteckler Oct 18, 2023
5794dc2
Merge pull request #14331 from MinaProtocol/feature/surely-not-more-c…
mrmr1993 Oct 18, 2023
d22db61
Merge branch 'develop' into feature/recursive-chunks-too
mrmr1993 Oct 18, 2023
7d2d394
Merge pull request #14360 from MinaProtocol/fix/unbreak-ci-for-arbitr…
mrmr1993 Oct 18, 2023
149864c
Merge pull request #14204 from MinaProtocol/alert/catchup-and-bootstr…
ghost-not-in-the-shell Oct 18, 2023
30d5d94
Merge branch 'develop' into dannywillems/runtime-table-tests
mrmr1993 Oct 18, 2023
14d4cad
Send txns more frequently in rosetta
mrmr1993 Oct 18, 2023
af1347c
Dirty src/app/rosetta
mrmr1993 Oct 18, 2023
c477135
Merge branch 'develop' into dkijania/fix-develop-compatibility-job
dkijania Oct 18, 2023
a9ad61d
Increase relative bp stake
mrmr1993 Oct 18, 2023
7df71fd
Add crypto debugging helpers
mrmr1993 Oct 18, 2023
a277153
Absorb the runtime table commitment, when available
mrmr1993 Oct 18, 2023
962234d
Merge pull request #14344 from MinaProtocol/feature/recursive-chunks-too
mrmr1993 Oct 18, 2023
2be922f
Revert "Dirty src/app/rosetta"
mrmr1993 Oct 18, 2023
c16a844
Merge pull request #14376 from MinaProtocol/experiment/rosetta-more-txns
mrmr1993 Oct 18, 2023
6ad0b78
Merge branch 'develop' into merge-back-to-develop-2023-10-18
mrmr1993 Oct 18, 2023
bc33c2b
Merge branch 'develop' into dkijania/fix-develop-compatibility-job
dkijania Oct 18, 2023
d8d347c
remove duplicated printout
dkijania Oct 18, 2023
32b0f1c
Add the runtime commitment to the IPA input
mrmr1993 Oct 18, 2023
f6c72b3
Merge pull request #14381 from MinaProtocol/merge-back-to-develop-202…
mrmr1993 Oct 18, 2023
f6ed63f
Merge branch 'develop' into dkijania/fix-develop-compatibility-job
dkijania Oct 18, 2023
858450c
fix comma
dkijania Oct 18, 2023
d543541
add timeouts for zkapps test
Oct 4, 2023
1ea5b7e
wait for a block + 30s instead of a slot + 30s
Oct 6, 2023
43f1816
Merge pull request #14308 from MinaProtocol/dannywillems/runtime-tabl…
mrmr1993 Oct 18, 2023
536380c
Merge branch 'develop' into fix-flakiness-insufficient-replace-fee
ghost-not-in-the-shell Oct 18, 2023
3061763
Merge branch 'develop' into dkijania/fix-develop-compatibility-job
dkijania Oct 19, 2023
878274f
Fix the proof-cache for the latest develop changes
mrmr1993 Oct 19, 2023
f16e20a
Merge pull request #14392 from MinaProtocol/feature/use-proof-cache-d…
mrmr1993 Oct 19, 2023
e6ed46e
Merge branch 'develop' into dkijania/fix-develop-compatibility-job
dkijania Oct 19, 2023
2b788c4
template for cloud postgres deployment
stevenplatt Oct 20, 2023
2e68482
added "service" label
stevenplatt Oct 20, 2023
a2ff9eb
add indent
dkijania Oct 20, 2023
35f90e7
Remove return_early_digest_exception param and related exception
dannywillems Oct 23, 2023
b155452
Merge pull request #14347 from MinaProtocol/dkijania/fix-develop-comp…
dkijania Oct 23, 2023
2dc4162
Merge pull request #14410 from MinaProtocol/dannywillems/remove-retur…
dannywillems Oct 23, 2023
56a2ea8
Merge pull request #14279 from MinaProtocol/barriebyron-patch-1
barriebyron Oct 23, 2023
8a52589
Merge branch 'develop' into steven-ci-metrics
stevenplatt Oct 24, 2023
d5ae586
Merge pull request #14399 from MinaProtocol/steven-ci-metrics
stevenplatt Oct 24, 2023
9f4199b
Merge branch 'develop' into fix-flakiness-insufficient-replace-fee
ghost-not-in-the-shell Oct 25, 2023
dd4e371
[RFC] Add reviewers' suggestions.
Sventimir Oct 26, 2023
da0a3a4
Merge branch 'develop' into gltrost/transaction_logic_stack_tests
joaosreis Oct 26, 2023
ea6d94c
Merge pull request #12796 from MinaProtocol/gltrost/transaction_logic…
joaosreis Oct 26, 2023
b079a9c
Note that the fork_config query should be parametrised by a block.
Sventimir Oct 27, 2023
6b1e886
Describe a way to protect the exported ledger against dishonest update.
Sventimir Oct 27, 2023
8d81fdc
Merge branch 'develop' into fix-flakiness-insufficient-replace-fee
ghost-not-in-the-shell Oct 30, 2023
2e8b2e2
Merge branch 'develop' into sventimir/genesis-ledger-export
Sventimir Oct 30, 2023
a9c9cc7
Update o1js: wasm-bindgen-cli 0.2.87
rbonichon Oct 26, 2023
c6db09b
nix: use wasm-bindgen-cli 0.2.87, update hashes
rbonichon Oct 26, 2023
9350dd5
Update proof-systems: wasm-bindgen 0.2.87
rbonichon Oct 26, 2023
f24eb5f
Merge branch 'develop' into feature/mina-caqti-internal-docs
psteckler Oct 30, 2023
a69d1ff
Extend the description of exported blockchain state.
Sventimir Oct 31, 2023
0dc8375
Add a section on testing.
Sventimir Oct 31, 2023
85bc56c
Merge pull request #14387 from MinaProtocol/fix-flakiness-insufficien…
ghost-not-in-the-shell Oct 31, 2023
b89f167
Merge pull request #14440 from MinaProtocol/rb/wasm-bindgen-0.2.87
Oct 31, 2023
ff3f95c
[#14206,#14205] Cosmetics for of_int, of_nat
volhovm Sep 26, 2023
871f29c
Update o1js (implicitly o1js-bindings) dependency
volhovm Oct 12, 2023
9cdd592
Merge pull request #14216 from MinaProtocol/volhovm/14206-14206-of_in…
volhovm Nov 1, 2023
3cc868c
Making test optional
SanabriaRusso Nov 1, 2023
aac92f2
Adding an alternative container image fo delegation backend toolchain
SanabriaRusso Nov 1, 2023
47c93ac
Revert "Adding an alternative container image fo delegation backend t…
SanabriaRusso Nov 1, 2023
4aee1bd
Merge pull request #14475 from MinaProtocol/luis-buildkite-onboarding
stevenplatt Nov 1, 2023
d181790
Merge pull request #14294 from MinaProtocol/feature/mina-caqti-intern…
deepthiskumar Nov 2, 2023
57ce675
add ledger proof statement to blockchain state in GraphQL
psteckler Sep 26, 2023
8692d18
fixups
Nov 2, 2023
08fa6d6
revert name change
Nov 2, 2023
974097e
Merge pull request #14483 from MinaProtocol/feature/merge-to-develop-…
deepthiskumar Nov 2, 2023
a21d75e
Merge branch 'develop' into sventimir/genesis-ledger-export
Sventimir Nov 6, 2023
f5b0138
Merge pull request #14213 from MinaProtocol/sventimir/genesis-ledger-…
Sventimir Nov 6, 2023
b4223b2
test curl install fix
stevenplatt Nov 13, 2023
6aa6bbd
updated container image
stevenplatt Nov 13, 2023
90f8291
Update proof-systems
dannywillems Nov 13, 2023
9958721
updated to use rosetta container
stevenplatt Nov 13, 2023
a420988
swapped out wget for curl
stevenplatt Nov 13, 2023
97600ed
swapping wget to curl
stevenplatt Nov 14, 2023
9e28af4
Merge pull request #14561 from MinaProtocol/steven-db-cron-fix
stevenplatt Nov 15, 2023
b9ac84c
Add new tests for fix_domains
dannywillems Nov 16, 2023
407b518
Update proof-systems after merge
volhovm Nov 16, 2023
a6a4447
Update snarkyjs/bindings
volhovm Nov 16, 2023
3929866
Merge branch 'develop' into dannywillems/update-proof-systems-to-new-…
volhovm Nov 16, 2023
da1fc3a
Update deps
volhovm Nov 17, 2023
7602182
Shorten call to T constructor
dannywillems Nov 17, 2023
a2d7d76
Remove case impossible in practice
dannywillems Nov 17, 2023
5528528
Merge pull request #14568 from MinaProtocol/dannywillems/add-test-for…
dannywillems Nov 18, 2023
bf5e6d3
Update dependencies
volhovm Nov 18, 2023
8a71c44
Merge branch 'develop' into dannywillems/update-proof-systems-to-new-…
volhovm Nov 18, 2023
78535ae
Merge pull request #14549 from MinaProtocol/dannywillems/update-proof…
dannywillems Nov 21, 2023
841e946
Enabled logging precomputed blocks in mina local network
dkijania Nov 21, 2023
04f0fe9
update file permission
dkijania Nov 23, 2023
7d11e9b
Merge pull request #14603 from MinaProtocol/dkijania/port_log_precomp…
dkijania Nov 23, 2023
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
26 changes: 26 additions & 0 deletions automation/terraform/modules/google-cloud/cloud-postgres/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Google Cloud Postgres Deployment

This terraform configuration is used to deploy an instance of Google Cloud Postgres. Although the default configuration works without creating a conflict, it is recommended to deploy the postgres instance as a module within a larger terraform deployment (which passes it unique var values).

The default configuration uses Google Secret Manager to pull in a password for the default `postgres` user. After deployment, the assigned IP addresses, username, and password will be printed to the terminal as shown below:

```
Outputs:

cloud_postgres_ip = tolist([
{
"ip_address" = "35.35.35.35" <---- example IP
"time_to_retire" = ""
"type" = "PRIMARY"
},
{
"ip_address" = "34.34.34.34" <---- example IP
"time_to_retire" = ""
"type" = "OUTGOING"
},
])
db_password = "PASSWORD_HERE"
db_user = "postgres"
```

The `PRIMARY` IP should be used when connecting to the new instance. By default, not database or schema is defined on the newly deployed db.
36 changes: 36 additions & 0 deletions automation/terraform/modules/google-cloud/cloud-postgres/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Configure the Google Cloud provider
provider "google" {
project = var.gcp_project
region = var.gcp_region
}

resource "random_id" "instance_id" {
byte_length = 4
}

data "google_secret_manager_secret_version" "db_password" {
provider = google
secret = var.db_pass
}

# Create a Google Cloud SQL PostgreSQL instance
resource "google_sql_database_instance" "postgres_instance" {
name = "${var.db_name}-${random_id.instance_id.hex}"
database_version = var.postgres_version
project = var.gcp_project
region = var.gcp_region
settings {
tier = var.db_spec
user_labels = {
service = var.service_label
}
}
deletion_protection = var.deletion_protection
}

# Define the database user
resource "google_sql_user" "database_user" {
name = var.db_user
instance = google_sql_database_instance.postgres_instance.name
password = data.google_secret_manager_secret_version.db_password.secret_data
}
13 changes: 13 additions & 0 deletions automation/terraform/modules/google-cloud/cloud-postgres/output.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
output "cloud_postgres_ip" {
value = google_sql_database_instance.postgres_instance.ip_address
}

output "db_user" {
value = google_sql_user.database_user.name
}

output "db_password" {
value = data.google_secret_manager_secret_version.db_password.secret_data
}


39 changes: 39 additions & 0 deletions automation/terraform/modules/google-cloud/cloud-postgres/vars.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
variable "gcp_project" {
default = "o1labs-192920"
}

variable "gcp_region" {
default = "us-east4"
}

variable "gcp_zone" {
default = "us-east4-b"
}

variable "db_name" {
default = "o1db"
}

variable "db_user" {
default = "postgres"
}

variable "db_pass" {
default = "o1db-pass"
}

variable "deletion_protection" {
default = false
}

variable "postgres_version" {
default = "POSTGRES_14"
}

variable "db_spec" {
default = "db-g1-small"
}

variable "service_label" {
default = "none"
}
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,24 @@ groups:
description: "{{ $value }} blocks have been validated on network {{ $labels.testnet }} in the last hour (according to some node)."
runbook: "https://www.notion.so/minaprotocol/FewBlocksPerHour-47a6356f093242d988b0d9527ce23478"

- alert: StuckInBootstrap
expr: count by (testnet) (increase(Coda_Runtime_process_uptime_ms_total{syncStatus = "BOOTSTRAP"}[2h]) >= 7200000) > 0
for: ${alert_evaluation_duration}
labels:
testnet: "{{ $labels.testnet }}"
severity: critical
annotations:
summary: "One or more {{ $labels.testnet }} nodes are stuck at bootstrap for more than 2 hours"

- alert: StuckInCatchup
expr: count by (testnet) (increase(Coda_Runtime_process_uptime_ms_total{syncStatus = "CATCHUP"}[2h]) >= 7200000) > 0
for: ${alert_evaluation_duration}
labels:
testnet: "{{ $labels.testnet }}"
severity: critical
annotations:
summary: "One or more {{ $labels.testnet }} nodes are stuck at catchup for more than 2 hours"


- name: Warnings
rules:
Expand Down
2 changes: 1 addition & 1 deletion automation/terraform/monitoring/o1-testnet-alerts.tf
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ module "o1testnet_alerts" {
alert_timeframe = "1h"
alert_duration = "10m"
pagerduty_alert_filter = "devnet2|mainnet"
berkeley_testnet = "testnet=\"(berkeley|testworld-2-0)\""
berkeley_testnet = "testnet=~\"(berkeley|testworld-2-0)\""
synced_status_filter = "syncStatus=\"SYNCED\""
}

Expand Down
21 changes: 12 additions & 9 deletions buildkite/scripts/check-compatibility.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,20 @@ function boot_and_sync {
REST_SERVER="http://127.0.0.1:$REST_PORT/graphql"

while [ $SYNCED -eq 0 ]; do
SYNC_STATUS=$(docker container exec -it $DAEMON_CONTAINER \
curl -g -X POST -H "Content-Type: application/json" -d '{"query":"query { syncStatus }"}' ${REST_SERVER})
SYNC_STATUS=$(docker container exec -it $DAEMON_CONTAINER \
curl -g -X POST -H "Content-Type: application/json" -d '{"query":"query { syncStatus }"}' ${REST_SERVER})

# "connection refused" until GraphQL server up
GOT_SYNC_STATUS=$(echo ${SYNC_STATUS} | grep "syncStatus")
if [ ! -z $GOT_SYNC_STATUS ]; then
echo "Sync status:" $GOT_SYNC_STATUS
fi
# print logs
docker container logs $DAEMON_CONTAINER --tail 10

# "connection refused" until GraphQL server up
GOT_SYNC_STATUS=$(echo ${SYNC_STATUS} | grep "syncStatus")
if [ ! -z $GOT_SYNC_STATUS ]; then
echo $(date +'%Y-%m-%d %H:%M:%S') ". Sync status:" $GOT_SYNC_STATUS
fi

SYNCED=$(echo ${SYNC_STATUS} | grep -c "SYNCED")
sleep 5
SYNCED=$(echo ${SYNC_STATUS} | grep -c "SYNCED")
sleep 5
done
}

Expand Down
6 changes: 3 additions & 3 deletions buildkite/scripts/rosetta-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ ROSETTA_CLI_CONFIG_FILES=${ROSETTA_CLI_CONFIG_FILES:="config.json mina.ros"}
ROSETTA_CLI_MAIN_CONFIG_FILE=${ROSETTA_CLI_MAIN_CONFIG_FILE:="config.json"}

# Frequency (in seconds) at which payment operations will be sent
TRANSACTION_FREQUENCY=60
TRANSACTION_FREQUENCY=10

# Fetch zkApps
curl -Ls https://github.com/MinaProtocol/rosetta-integration-test-zkapps/tarball/$ROSETTA_INT_TEST_ZKAPPS_VERSION | tar xz -C /tmp
Expand Down Expand Up @@ -122,8 +122,8 @@ cat <<EOF >"$MINA_CONFIG_FILE"
"ledger": {
"name": "${MINA_NETWORK}",
"accounts": [
{ "pk": "${BLOCK_PRODUCER_PK}", "balance": "1000", "delegate": null, "sk": null },
{ "pk": "${SNARK_PRODUCER_PK}", "balance": "2000", "delegate": "${BLOCK_PRODUCER_PK}", "sk": null }
{ "pk": "${BLOCK_PRODUCER_PK}", "balance": "1000000", "delegate": null, "sk": null },
{ "pk": "${SNARK_PRODUCER_PK}", "balance": "2000000", "delegate": "${BLOCK_PRODUCER_PK}", "sk": null }
]
}
}
Expand Down
10 changes: 2 additions & 8 deletions buildkite/scripts/run-snark-transaction-profiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,7 @@ export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y git apt-transport-https ca-certificates tzdata curl python3

case "$BUILDKITE_PULL_REQUEST_BASE_BRANCH" in
rampup|berkeley|release/2.0.0|develop)
TESTNET_NAME="berkeley"
;;
*)
TESTNET_NAME="mainnet"
esac
TESTNET_NAME="berkeley"

git config --global --add safe.directory /workdir

Expand All @@ -30,4 +24,4 @@ MAX_NUM_UPDATES=4
MIN_NUM_UPDATES=2

echo "--- Run Snark Transaction Profiler with parameters: --zkapps --k ${K} --max-num-updates ${MAX_NUM_UPDATES} --min-num-updates ${MIN_NUM_UPDATES}"
python3 ./scripts/snark_transaction_profiler.py ${K} ${MAX_NUM_UPDATES} ${MIN_NUM_UPDATES}
python3 ./scripts/snark_transaction_profiler.py ${K} ${MAX_NUM_UPDATES} ${MIN_NUM_UPDATES}
5 changes: 3 additions & 2 deletions buildkite/src/Command/Base.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ let Config =
, soft_fail : Optional B/SoftFail
, skip: Optional B/Skip
, `if` : Optional B/If
, timeout_in_minutes : Optional Natural
, timeout_in_minutes : Optional Integer
}
, default =
{ depends_on = [] : List TaggedKey.Type
Expand All @@ -119,7 +119,7 @@ let Config =
, soft_fail = None B/SoftFail
, skip = None B/Skip
, `if` = None B/If
, timeout_in_minutes = None Natural
, timeout_in_minutes = None Integer
}
}

Expand Down Expand Up @@ -156,6 +156,7 @@ let build : Config.Type -> B/Command.Type = \(c : Config.Type) ->
else Some (B/ArtifactPaths.String (SelectFiles.compile c.artifact_paths)),
key = Some c.key,
label = Some c.label,
timeout_in_minutes = c.timeout_in_minutes,
retry =
Some {
-- we only consider automatic retries
Expand Down
7 changes: 6 additions & 1 deletion buildkite/src/Constants/DebianVersions.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ let minimalDirtyWhen = [
S.strictlyStart (S.contains "dockerfiles/stages"),
S.exactly "scripts/rebuild-deb" "sh",
S.exactly "scripts/release-docker" "sh",
S.exactly "buildkite/scripts/build-artifact" "sh"
S.exactly "buildkite/scripts/build-artifact" "sh",
S.exactly "buildkite/scripts/check-compatibility" "sh",
-- Snark profiler dirtyWhen
S.exactly "buildkite/src/Jobs/Test/RunSnarkProfiler" "dhall",
S.exactly "buildkite/scripts/run-snark-transaction-profiler" "sh",
S.exactly "scripts/snark_transaction_profiler" "py"
]

-- The default debian version (Bullseye) is used in all downstream CI jobs
Expand Down
3 changes: 2 additions & 1 deletion buildkite/src/Jobs/Test/BerkeleyCompatibility.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ in Pipeline.build Pipeline.Config::{
key = "berkeley-compatibilty-test",
target = Size.XLarge,
docker = None Docker.Type,
depends_on = dependsOn
depends_on = dependsOn,
timeout_in_minutes = Some +60
}
]
}
Expand Down
4 changes: 4 additions & 0 deletions buildkite/src/Jobs/Test/DelegationBackendUnitTest.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ let Command = ../../Command/Base.dhall
let Docker = ../../Command/Docker/Type.dhall
let Size = ../../Command/Size.dhall

let B = ../../External/Buildkite.dhall
let B/SoftFail = B.definitions/commandStep/properties/soft_fail/Type

in

Pipeline.build
Expand All @@ -34,6 +37,7 @@ Pipeline.build
Cmd.runInDocker Cmd.Docker::{image = ContainerImages.delegationBackendToolchain} "cd src/app/delegation_backend && mkdir -p result && cp -R /headers result && cd src/delegation_backend && go test"
],
label = "delegation backend unit-tests",
soft_fail = Some (B/SoftFail.Boolean True),
key = "delegation-backend-unit-tests",
target = Size.Small,
docker = None Docker.Type
Expand Down
3 changes: 2 additions & 1 deletion buildkite/src/Jobs/Test/DevelopCompatibility.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ in Pipeline.build Pipeline.Config::{
key = "develop-compatibilty-test",
target = Size.XLarge,
docker = None Docker.Type,
depends_on = dependsOn
depends_on = dependsOn,
timeout_in_minutes = Some +60
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion buildkite/src/Jobs/Test/FuzzyZkappTest.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ Pipeline.build
mode = PipelineMode.Type.Stable
},
steps = [
buildTestCmd "dev" "src/lib/transaction_snark/test/zkapp_fuzzy/zkapp_fuzzy.exe" 3600 150 Size.Small
buildTestCmd "dev" "src/lib/transaction_snark/test/zkapp_fuzzy/zkapp_fuzzy.exe" 4200 150 Size.Small
]
}
2 changes: 1 addition & 1 deletion buildkite/src/Jobs/Test/Libp2pUnitTest.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Pipeline.build
key = "libp2p-bs-qc",
target = Size.Large,
docker = None Docker.Type,
timeout_in_minutes = Some 45
timeout_in_minutes = Some +45

}
]
Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

The docs for the Mina Protocol website are published on [docs.minaprotocol.com](https://docs.minaprotocol.com/).

The docs repository is [https://github.com/o1-labs/docs2/)https://github.com/o1-labs/docs2/](https://github.com/o1-labs/docs2/)https://github.com/o1-labs/docs2/).
The docs repository is [https://github.com/o1-labs/docs2/](https://github.com/o1-labs/docs2/](https://github.com/o1-labs/docs2/).
Loading
Loading