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

Merge developer branch #1099

Merged
merged 36 commits into from
Aug 9, 2024
Merged

Merge developer branch #1099

merged 36 commits into from
Aug 9, 2024

Commits on Jun 10, 2024

  1. Merge pull request #1017 from ton-blockchain/master

    Sync branches
    EmelyanenkoK authored Jun 10, 2024
    Configuration menu
    Copy the full SHA
    6250662 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2024

  1. Soft send message validation (#1021)

    * check mode on invalid action_send_msg
    
    * Fix random seed generation
    
    * Explicitly skip invalid actions
    
    * Count skipped valid messages, rename cfg option to message_skip_enabled
    
    * Allow unfreeze via external messages
    
    * Detect and handle bounce_on_fail mode for invalid messages
    
    * Fix codestyle
    
    * Adjust doc
    EmelyanenkoK authored Jun 11, 2024
    Configuration menu
    Copy the full SHA
    bd23029 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. Configuration menu
    Copy the full SHA
    773ebe0 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Fix TON compilation on Windows (github only) (#1020)

    * add github action for macOS 14 (arm64, M1)
    
    * add github action (portable) for macOS 14 (arm64, M1)
    
    * rename macOS arm64 output artifact
    
    * Update libsodium on windows
    
    * Compile libsodium
    
    * Update build-windows.bat
    
    * use upgraded libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * revert libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * use upgraded libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * fix libsodium version 1.0.19; use compiled static libsodium for Windows instead of precompiled;
    
    * try 1.0.20 libsodium precompiled on github
    
    * try 1.0.18 libsodium precompiled on github
    
    * try windows build on win server 2019
    
    * and use PlatformToolset=v142
    
    * use cmake -G "Visual Studio 16 2019"
    
    * fix path to msvc 2019 on github
    
    * separate github windows build on win server 2019 and build on win server 2022
    
    * Update assembly/native/build-windows-2019.bat
    
    add retry mechanism
    
    Co-authored-by: Dr. Awesome Doge <[email protected]>
    
    ---------
    
    Co-authored-by: neodiX <[email protected]>
    Co-authored-by: Dr. Awesome Doge <[email protected]>
    3 people authored Jun 24, 2024
    Configuration menu
    Copy the full SHA
    94c9fec View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2024

  1. Fix skipped action list order (#1036)

    * nullify incorrect actions directly in skipped_action_list
    EmelyanenkoK authored Jun 25, 2024
    Configuration menu
    Copy the full SHA
    c2e7278 View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2024

  1. Doclinks that refer to docs.ton.org domain (#1029)

    * Correct documentation link
    
    Update moved URL in comments
    
    * Update all doc links
    mercuriev authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    c56e657 View commit details
    Browse the repository at this point in the history
  2. chore: fix typos (#980)

    Signed-off-by: snoppy <[email protected]>
    xiaoxianBoy authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    2634e63 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    11f39ac View commit details
    Browse the repository at this point in the history
  4. Added nullptr check for emulation_result (#1037)

    * Added nullptr check for emulation_result
    
    * Typo
    
    * added cast to EmulationExternalNotAccepted and diagnostic message
    
    * formatting
    
    * formatting
    
    * removed unnecessary nesting
    
    ---------
    
    Co-authored-by: dbaranov34 <[email protected]>
    dbaranovstonfi and dbaranov34 authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    38fc1d5 View commit details
    Browse the repository at this point in the history
  5. Merge message dispatch queue (#1030)

    * Deferred messages and msg metadata
    
    * Store out msg queue size in state
    
    * Add checks for queue processing
    
    1. Collator must process at least one message from AccountDispatchQueue (unless block is full)
    2. The first message from a transaction is not counted, it cannot be deferred (unless AccountDispatchQueue is not empty)
    
    * Return msg metadata from LS in listBlockTransactions[Ext]
    
    * Enable new features by capabilities
    
    * Changes in deferred messages
    
    * Process deferred messages via new_msgs in collator
    * Rework setting deferred_lt, bring back check_message_processing_order, check order of deferred_lt in validator
    
    * Use have_unprocessed_account_dispatch_queue_ in collator
    
    * Fix setting transaction lt for deferred messages
    
    * Fix lite-client compilation error
    
    * Changes in process_dispatch_queue, rename deferred_lt -> emitted_lt
    
    * Fix compilation error
    
    * Use uint64 for msg queue size
    
    * Add liteServer.getBlockOutMsgQueueSize
    
    * Fix compilation error
    
    * Fix typos in comments
    
    ---------
    
    Co-authored-by: SpyCheese <[email protected]>
    EmelyanenkoK and SpyCheese authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    0daee1d View commit details
    Browse the repository at this point in the history
  6. Tonlib: add methods smc.getRawFullAccountState and blocks.getOutMsgQu…

    …eueSizes (#1027)
    
    * add method smc.getRawFullAccountState
    
    * Add method blocks.getOutMsgQueueSizes
    dungeon-master-666 authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    06f503d View commit details
    Browse the repository at this point in the history
  7. Fix typos (#998)

    simlecode authored Jun 27, 2024
    Configuration menu
    Copy the full SHA
    fae7763 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7f83701 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    0bf7feb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c15d878 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d46261c View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Configuration menu
    Copy the full SHA
    c54f095 View commit details
    Browse the repository at this point in the history
  2. Add collator options (#1052)

    * Set collator options from validator console
    
    * Fix compilation error in manager-disk
    
    * Defer all messages if out msg queue is too big
    
    * Fix checking queue size in collator
    
    ---------
    
    Co-authored-by: SpyCheese <[email protected]>
    EmelyanenkoK and SpyCheese authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    57f95cc View commit details
    Browse the repository at this point in the history
  3. Improved Docker image (#1051)

    * add github action for macOS 14 (arm64, M1)
    
    * add github action (portable) for macOS 14 (arm64, M1)
    
    * rename macOS arm64 output artifact
    
    * Update libsodium on windows
    
    * Compile libsodium
    
    * Update build-windows.bat
    
    * use upgraded libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * revert libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * use upgraded libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * fix libsodium version 1.0.19; use compiled static libsodium for Windows instead of precompiled;
    
    * try 1.0.20 libsodium precompiled on github
    
    * try 1.0.18 libsodium precompiled on github
    
    * try windows build on win server 2019
    
    * and use PlatformToolset=v142
    
    * use cmake -G "Visual Studio 16 2019"
    
    * fix path to msvc 2019 on github
    
    * separate github windows build on win server 2019 and build on win server 2022
    
    * Update assembly/native/build-windows-2019.bat
    
    add retry mechanism
    
    Co-authored-by: Dr. Awesome Doge <[email protected]>
    
    * rework docker image; provide installation, configuration and troubleshooting guidelines; add nc, ifconfig, netstat and iptraf-ng utilities for troubleshooting;
    
    * put back control.template
    
    * add tcpdump and curl to the docker image;
    update default validator ports;
    add kubernetes deployment guidelines with network=host;
    test metalLB load balancer
    
    * tested metalLB load balancer
    
    * tested aws deployment
    
    * tested gcp deployment
    
    * todo ali cloud and storage mount points, currently only the networking was tested
    
    * add storage/pv/pvc; repair broken links, adjust docu
    
    * change to dynamic storage provisioning without node affinity (statefulSet+headless service)
    WIP
    
    * modify gcp deployment WIP
    
    * modify aws deployment WIP
    
    * add resource requests/limits
    
    * some docu changes
    
    * some docu changes; aws tested
    
    * support $DUMP_URL parameter as well as $ZFS_POOL_NAME;
    add pv and plzip to docker image for dump extraction;
    use mainnet dump by default in k8s deployments;
    
    * support $DUMP_URL parameter as well as $ZFS_POOL_NAME;
    add pv and plzip to docker image for dump extraction;
    use mainnet dump by default in k8s deployments;
    add AliCloud support
    
    * minor remarks, final tests
    
    * remove ZFS_POOL_NAME parameter
    
    * improve docker github action - run test and add release tag, compile against arm64
    
    * set docker test timeout
    
    * test if validator-engine inside the docker image is valid
    
    * test if validator-engine inside the docker image is valid
    
    * test if validator-engine inside the docker image is valid
    
    * adjust recommended node values for ali cloud deployment
    
    ---------
    
    Co-authored-by: neodiX <[email protected]>
    Co-authored-by: Dr. Awesome Doge <[email protected]>
    3 people authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    2792fc2 View commit details
    Browse the repository at this point in the history
  4. add test-emulator (#1048)

    * add github action for macOS 14 (arm64, M1)
    
    * add github action (portable) for macOS 14 (arm64, M1)
    
    * rename macOS arm64 output artifact
    
    * Update libsodium on windows
    
    * Compile libsodium
    
    * Update build-windows.bat
    
    * use upgraded libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * revert libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * use upgraded libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * fix libsodium version 1.0.19; use compiled static libsodium for Windows instead of precompiled;
    
    * try 1.0.20 libsodium precompiled on github
    
    * try 1.0.18 libsodium precompiled on github
    
    * try windows build on win server 2019
    
    * and use PlatformToolset=v142
    
    * use cmake -G "Visual Studio 16 2019"
    
    * fix path to msvc 2019 on github
    
    * separate github windows build on win server 2019 and build on win server 2022
    
    * Update assembly/native/build-windows-2019.bat
    
    add retry mechanism
    
    Co-authored-by: Dr. Awesome Doge <[email protected]>
    
    * add test-emulator; disable test groovy pipeline
    
    * trigger all gh actions
    
    * fix win build
    
    * call test-emulator
    
    * fix test-emulator
    
    ---------
    
    Co-authored-by: neodiX <[email protected]>
    Co-authored-by: Dr. Awesome Doge <[email protected]>
    Co-authored-by: ms <[email protected]>
    4 people authored Jul 10, 2024
    Configuration menu
    Copy the full SHA
    5380e6f View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2024

  1. Fix processing dispatch queue (#1057)

    Co-authored-by: SpyCheese <[email protected]>
    EmelyanenkoK and SpyCheese authored Jul 13, 2024
    Configuration menu
    Copy the full SHA
    00cd053 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2024

  1. "getcollatoroptionsjson" command in validator console (#1059)

    * "getcollatoroptionsjson" command in validator console
    
    * Improve state serializer
    
    Use previous persistent state to speed up reading
    SpyCheese authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    b9e89d4 View commit details
    Browse the repository at this point in the history
  2. Fix tonlib client crashing when block lookup error (#979)

    Co-authored-by: hey-researcher <[email protected]>
    hey-researcher and hey-researcher authored Jul 17, 2024
    Configuration menu
    Copy the full SHA
    015e2e5 View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2024

  1. Configuration menu
    Copy the full SHA
    58ca7b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1b93728 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2024

  1. Configuration menu
    Copy the full SHA
    a5521a6 View commit details
    Browse the repository at this point in the history
  2. More verbose vm logs, fix parsing slice literals (#1076)

    * More verbose VM logs
    
    * Fix parsing slice literals in fift
    SpyCheese authored Jul 26, 2024
    Configuration menu
    Copy the full SHA
    28f9a9b View commit details
    Browse the repository at this point in the history
  3. Remove rocksdb usage from fift (#1064)

    * add github action for macOS 14 (arm64, M1)
    
    * add github action (portable) for macOS 14 (arm64, M1)
    
    * rename macOS arm64 output artifact
    
    * Update libsodium on windows
    
    * Compile libsodium
    
    * Update build-windows.bat
    
    * use upgraded libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * revert libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * use upgraded libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * fix libsodium version 1.0.19; use compiled static libsodium for Windows instead of precompiled;
    
    * try 1.0.20 libsodium precompiled on github
    
    * try 1.0.18 libsodium precompiled on github
    
    * try windows build on win server 2019
    
    * and use PlatformToolset=v142
    
    * use cmake -G "Visual Studio 16 2019"
    
    * fix path to msvc 2019 on github
    
    * separate github windows build on win server 2019 and build on win server 2022
    
    * Update assembly/native/build-windows-2019.bat
    
    add retry mechanism
    
    Co-authored-by: Dr. Awesome Doge <[email protected]>
    
    * add test-emulator; disable test groovy pipeline
    
    * trigger all gh actions
    
    * fix win build
    
    * call test-emulator
    
    * remove usage of rocksdb in fift-lib
    
    * put back some code for test-db
    
    * fix test-emulator
    
    * remove usage of db-path parameter in fift
    
    * some func adjustments
    
    * fix checkout of openssl in fift-func-wasm-build-ubuntu.sh
    
    * typo
    
    * improve wasm build script for quicker turn around
    
    * remove sENVIRONMENT=web,worker for funcfiftlib. will be added later.
    
    * remove sENVIRONMENT=web,worker for funcfiftlib. will be added later.
    
    * remove sENVIRONMENT=web,worker for funcfiftlib. will be added later.
    
    * minor adjustments
    
    * remove -d option in fift; optimize fift-lib usage
    
    * reduce tondb usage
    
    ---------
    
    Co-authored-by: neodiX <[email protected]>
    Co-authored-by: Dr. Awesome Doge <[email protected]>
    Co-authored-by: ms <[email protected]>
    4 people authored Jul 26, 2024
    Configuration menu
    Copy the full SHA
    679e6be View commit details
    Browse the repository at this point in the history
  4. Print oldest celldb snapshot to stats (#1078)

    Co-authored-by: SpyCheese <[email protected]>
    EmelyanenkoK and SpyCheese authored Jul 26, 2024
    Configuration menu
    Copy the full SHA
    b3828f8 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2024

  1. Configuration menu
    Copy the full SHA
    25386f5 View commit details
    Browse the repository at this point in the history

Commits on Jul 29, 2024

  1. Configuration menu
    Copy the full SHA
    e7a26f5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db1ba2e View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2024

  1. Configuration menu
    Copy the full SHA
    8714477 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. Add --fast-state-serializer flag and responding to AdnlMessageCreateC…

    …hannel with Nop (#1096)
    
    * Add --fast-state-serializer and tools for jemalloc
    
    * Disable fast state serializer by default unless RAM is >= 90GB
    * Print jemalloc stats once a minute
    * Dump jemalloc profile on request
    
    * Respond to AdnlMessageCreateChannel with Nop
    
    ---------
    
    Co-authored-by: SpyCheese <[email protected]>
    EmelyanenkoK and SpyCheese authored Aug 7, 2024
    Configuration menu
    Copy the full SHA
    e985ac0 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. Add github action for Ubuntu 24.04 (#1085)

    * add github action for macOS 14 (arm64, M1)
    
    * add github action (portable) for macOS 14 (arm64, M1)
    
    * rename macOS arm64 output artifact
    
    * Update libsodium on windows
    
    * Compile libsodium
    
    * Update build-windows.bat
    
    * use upgraded libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * revert libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * use upgraded libsodium 1.0.20; use compiled static libsodium for Windows instead of precompiled;
    
    * fix libsodium version 1.0.19; use compiled static libsodium for Windows instead of precompiled;
    
    * try 1.0.20 libsodium precompiled on github
    
    * try 1.0.18 libsodium precompiled on github
    
    * try windows build on win server 2019
    
    * and use PlatformToolset=v142
    
    * use cmake -G "Visual Studio 16 2019"
    
    * fix path to msvc 2019 on github
    
    * separate github windows build on win server 2019 and build on win server 2022
    
    * Update assembly/native/build-windows-2019.bat
    
    add retry mechanism
    
    Co-authored-by: Dr. Awesome Doge <[email protected]>
    
    * add test-emulator; disable test groovy pipeline
    
    * trigger all gh actions
    
    * fix win build
    
    * call test-emulator
    
    * fix test-emulator
    
    * test ubuntu 24.04 native build
    
    * ubuntu 24.04 has clang-16 by default
    
    ---------
    
    Co-authored-by: neodiX <[email protected]>
    Co-authored-by: Dr. Awesome Doge <[email protected]>
    Co-authored-by: ms <[email protected]>
    4 people authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    489721e View commit details
    Browse the repository at this point in the history
  2. Update changelog

    EmelyanenkoK committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    7cbe20c View commit details
    Browse the repository at this point in the history