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

Metric for rewards #4955

Closed
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Sep 6, 2024

  1. Configuration menu
    Copy the full SHA
    01333b4 View commit details
    Browse the repository at this point in the history
  2. Merge casper-network#4845

    4845: Implement Entity and Package information requests (redux) r=EdHastingsCasperAssociation a=EdHastingsCasperAssociation
    
    This is a fork of casper-network#4835 to handle merge conflicts
    
    Co-authored-by: Jacek Malec <[email protected]>
    Co-authored-by: edhastings <[email protected]>
    Co-authored-by: Ed Hastings <[email protected]>
    4 people authored Sep 6, 2024
    Configuration menu
    Copy the full SHA
    9795bd2 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. Configuration menu
    Copy the full SHA
    a369ab1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8fdda4d View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Merge casper-network#4844

    4844: Port the changes related to handling of unbonds in `global-state-update-gen` to `feat-2.0` r=fizyk20 a=fizyk20
    
    This ports the changes made in casper-network#4828 to `feat-2.0`.
    
    Co-authored-by: Bartłomiej Kamiński <[email protected]>
    casperlabs-bors-ng[bot] and fizyk20 authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    f64bab3 View commit details
    Browse the repository at this point in the history
  2. Merge casper-network#4823

    4823: Introducing calltable serialization to `TransactionV1` structures subtree. r=darthsiroftardis a=zajko
    
    This is an extension to the `bytesrepr` serialization used in the rest of the node and it also uses the `
    FromBytes` and `ToBytes` traits.
        From now on selected types will use a specific serialization approach which will be called "calltable" serialization.
        A "calltable-serialized" type is serialized as follow:
    
    - For structs:
        -  Given type X with N attributes we assign a unique (in the scope of X) `u16` index to each of the structs attribute. The assumption is that the indexes are 0-based
        - We serialize each of the structs attribute using it's `ToBytes` implementation, producing binary payloads: _binary_vec<sub>0</sub>, binary_vec<sub>1</sub>, ..., binary_ve
    c<sub>N-1</sub>_. We don't allow any of the _binary_vec<sub>i</sub>_ to be empty.
        - We construct a _bytes_ vector which is a concatenation of _binary_vec<sub>0</sub>, binary_vec<sub>1</sub>, ..., binary_vec<sub>N-1</sub>_
        - We construct a _fields_ vector. The _i-th_ element of _fields_ is a description of the _i-th_ attribute:
            - For field with index 0 this description will be:
                  _field<sub>0</sub>_ = Field {
                     index: 0
                     offset: 0
                  }
            - For each next field:
                  *field<sub>i</sub>* = Field {
                      index: *i*
                      offset: *field<sub>i - 1</sub>.offset* + length(*binary_vec<sub>i - 1</sub>*)
                  }
        - We construct an instance of `CalltableSerializationEnvelope {fields, bytes}`  and serialize it using it's `ToBytes` implementation.
    - For enums:
        - Given an enum E with M variants we assign a `u8` unique index for each of the variant. The variant-index should start from 0 and be contiguous.
        - Given an enum instance *e* of variant *E<sub>j</sub>* (having variant index *j*) which has N attributes:
            - we assign a unique (in the scope of *E<sub>j</sub>) `u16` index to each of the enum variants attribute. The assumption is that the indexes are 1-based.
            - We serialize value of *j* as *binary_vec<sub>0</sub>* and each of *e* attribute as subsequent *binary_vec* (binary_vec<sub>1</sub>, binary_vec<sub>2</sub>,..., bi
    nary_vec<sub>N</sub>). We don't allow any of the *binary_vec<sub>i</sub>* to be empty.
            -  We construct a *bytes* vector which is a concatenation of *binary_vec<sub>0</sub>, binary_vec<sub>1</sub>, ..., binary_vec<sub>N</sub>*.
            - We construct a *fields* vector. The *i-th* element of *fields* is a description of the *i-th* attribute:
                - For field with index 0 this description will be:
                     _field<sub>0</sub>_ = Field {
                       index: 0
                       offset: 0
                     }
                - For each next field:
                     _field<sub>i</sub>_ = Field {
                         index: *i*
                         offset: *field<sub>i - 1</sub>.offset* + length(*binary_vec<sub>i - 1</sub>*)
                     }
            - We construct an instance of `CalltableSerializationEnvelope {fields, bytes}`  and serialize it using it's `ToBytes` implementation.
            - To recap, each enum variant we serialize analogously to a `struct`, but we prepend a synthetic `u8` field which identifies the variant.
        
    This PR applies calltable serialization to the following types:
    - `InitiatorAddr` enum
    - `PricingMode` enum
    - `TransactionEntryPoint` enum
    - `TransactionInvocationTarget` enum
    - `TransactionScheduling` enum
    - `TransactionTarget` enum
    - `TransactionV1` struct
    - `TransactionV1Body` struct
    - `TransactionV1Header` struct
        
    All other types (especially legacy ones, including those nested in "calltable-serialized" types) should use "regular" serialization logic.
    
    Co-authored-by: Jakub Zajkowski <[email protected]>
    casperlabs-bors-ng[bot] and Jakub Zajkowski authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    e6456b7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1eefb77 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    79512bd View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. Merge branch 'feat-2.0' of github.com:casper-network/casper-node into…

    … rustSDK-feat-2.0
    
    # Conflicts:
    #	Makefile
    #	types/src/transaction/transaction_v1/transaction_v1_builder.rs
    gRoussac committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    2516642 View commit details
    Browse the repository at this point in the history
  2. Doc + lint

    gRoussac committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    45bd9e5 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. handle legacy and new version of seignorage snapshots

    Maciej Wójcik committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    c5f6d0e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9f38960 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'refs/heads/feat-2.0' into reserved-slots

    # Conflicts:
    #	utils/global-state-update-gen/src/generic/state_tracker.rs
    Maciej Wójcik committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    19f2200 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

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

Commits on Sep 18, 2024

  1. bump deps in cargo

    igor-casper committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    00ee8f5 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    e441319 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9000755 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4f2e055 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9b2c592 View commit details
    Browse the repository at this point in the history
  5. minor cleanup

    igor-casper committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    344109b View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    d14054d View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    da8387d View commit details
    Browse the repository at this point in the history
  8. apply fmt suggestions

    igor-casper committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    b1e80f2 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. Merge casper-network#4891

    4891: Fix `node_should_rejoin_after_ejection` being flaky r=fizyk20 a=fizyk20
    
    This PR changes the bid amount in the `node_should_rejoin_after_ejection` test to be equal to the minimum account balance, set [here](https://github.com/casper-network/casper-node/blob/e6456b709ec1da1c6b703db2a04beeba960651c5/node/src/reactor/main_reactor/tests.rs#L301).
    
    Since the fixture is initialized with random balances for nodes, and the minimum possible balance was less than the bid amount, sometimes the call to `add_bid` would fail with the `InsufficientFunds` error, causing the test to be flaky. This change should fix the issue.
    
    Closes casper-network#4859 
    
    
    Co-authored-by: Bartłomiej Kamiński <[email protected]>
    casperlabs-bors-ng[bot] and fizyk20 authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    0753169 View commit details
    Browse the repository at this point in the history
  2. Add a WAL to Highway

    fizyk20 committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    93791bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    37c697f View commit details
    Browse the repository at this point in the history
  4. Prep for tests

    darthsiroftardis committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    093edf7 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    276ffdc View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. Configuration menu
    Copy the full SHA
    2fcb339 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    26d97ea View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e9f279c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d89d00f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c813d28 View commit details
    Browse the repository at this point in the history
  6. Fix create groups

    darthsiroftardis committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    cfb9a0a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    09de507 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. Configuration menu
    Copy the full SHA
    8527779 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e679e08 View commit details
    Browse the repository at this point in the history
  3. Run make lint

    darthsiroftardis committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    a6b711e View commit details
    Browse the repository at this point in the history
  4. Merge pull request casper-network#4896 from fizyk20/issue-4784

    Add a link to Zug whitepaper to the Readme
    EdHastingsCasperAssociation authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    0dd04ac View commit details
    Browse the repository at this point in the history
  5. Merge casper-network#4895

    4895: Add a WAL to Highway r=EdHastingsCasperAssociation a=fizyk20
    
    This will enable validators in a network running Highway to resume validating after a crash without the necessity to download the protocol state from other nodes. The WAL (Write-Ahead Log) will contain all the units added to the protocol state during the node's operation, which combined with the information from the stored blocks will make it possible to restore the protocol state to the point from before a crash.
    
    Since Zug already uses a WAL, this will close the only remaining hole in the protocol state persistence story.
    
    Closes casper-network#3904 
    
    
    Co-authored-by: Bartłomiej Kamiński <[email protected]>
    casperlabs-bors-ng[bot] and fizyk20 authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    ea5e6fa View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3b45a47 View commit details
    Browse the repository at this point in the history
  7. Merge casper-network#4893

    4893: Do not notify consensus about historical blocks r=EdHastingsCasperAssociation a=fizyk20
    
    What it says on the tin. This should also stop consensus from emitting the log message about missing eras.
    
    Closes casper-network#4378 
    
    
    Co-authored-by: Bartłomiej Kamiński <[email protected]>
    casperlabs-bors-ng[bot] and fizyk20 authored Sep 24, 2024
    Configuration menu
    Copy the full SHA
    6be9ce5 View commit details
    Browse the repository at this point in the history
  8. Address lint and fmt

    darthsiroftardis committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    36949a7 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    628059a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    88ebd0a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5254a75 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Update rust-toolchain for smart contracts

    Uses most recent I could find that does not emit invalid table
    reference.
    mpapierski committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    4125adc View commit details
    Browse the repository at this point in the history
  2. Merge casper-network#4773

    4773: Fix: remove unused connection symmetries and other code cleanups r=EdHastingsCasperAssociation a=moubctez
    
    Changes:
    * remove unused connection symmetries (fixes memory draining)
    * remove unnecessary cloning
    * don't derive DataSize when all fields are skipped
    * hide some code that is needed only for tests
    * code cleanup
    
    Co-authored-by: Adam Ciarciński <[email protected]>
    casperlabs-bors-ng[bot] and moubctez authored Sep 25, 2024
    Configuration menu
    Copy the full SHA
    ad1f16d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    edcd610 View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. bump deps, fix lints

    igor-casper committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    80de62f View commit details
    Browse the repository at this point in the history
  2. remove unused code

    igor-casper committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    d90b16e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db82251 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ac278c7 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Changing TransactionV1 structure. From now on a TransactionV1 consist…

    …s of hash, payload and approvals. payload is a merge of header and body concepts from before. body is not represented in a type-constrained way, instead we use an amorphic fields of type BTreeMap<u16, Bytes> which is more resistant to future changes.
    Jakub Zajkowski committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    e009a45 View commit details
    Browse the repository at this point in the history
  2. Applying fmt fixes

    Jakub Zajkowski committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    156f834 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    9882d67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fb9c4d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6a44fa3 View commit details
    Browse the repository at this point in the history
  4. add generic_hash host fn

    igor-casper committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    34a5b87 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c9c4c34 View commit details
    Browse the repository at this point in the history
  6. Address lints

    darthsiroftardis committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    0f7d5a6 View commit details
    Browse the repository at this point in the history
  7. Run make format

    darthsiroftardis committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    ddc7d2e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4188618 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    97fd9ff View commit details
    Browse the repository at this point in the history
  10. apply fmt suggestions

    igor-casper committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    4f3143e View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Fixing unit tests

    Jakub Zajkowski committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    43b8bcf View commit details
    Browse the repository at this point in the history
  2. remove anemic features

    igor-casper committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    6285c4d View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. remove a dead trait

    igor-casper committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    0b5a0f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f37343d View commit details
    Browse the repository at this point in the history
  3. Apply patch from Ed

    darthsiroftardis committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    302c52c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    eddea73 View commit details
    Browse the repository at this point in the history
  5. add a sha256 variant

    igor-casper committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    f27e3fa View commit details
    Browse the repository at this point in the history
  6. Address lint issues

    darthsiroftardis committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    3e4567f View commit details
    Browse the repository at this point in the history
  7. Address CI issues

    darthsiroftardis committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    913b1e5 View commit details
    Browse the repository at this point in the history
  8. Amend faucet costs

    darthsiroftardis committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    8010dfe View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Configuration menu
    Copy the full SHA
    e3cb1bc View commit details
    Browse the repository at this point in the history
  2. docu fix

    EdHastingsCasperAssociation committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    f3463a0 View commit details
    Browse the repository at this point in the history
  3. linting

    EdHastingsCasperAssociation committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    5dddf82 View commit details
    Browse the repository at this point in the history
  4. linting

    EdHastingsCasperAssociation committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    073b149 View commit details
    Browse the repository at this point in the history
  5. Changed GlobalStateRequest from enum to struct, made Trie as variant …

    …of GetRequest which allowed to promote state_identifier to a field directly in GlobalStateRequest
    Jakub Zajkowski committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    94134be View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    55337d9 View commit details
    Browse the repository at this point in the history
  7. Merge casper-network#4894

    4894: Bump casper-wasmi, add sign-ext support r=igor-casper a=igor-casper
    
    This PR addresses casper-network#4855 by bumping casper-wasmi to 0.14.0
    
    As a key takeaway, [sign-ext](https://github.com/WebAssembly/sign-extension-ops/blob/master/proposals/sign-extension-ops/Overview.md) ops were previously unsupported, which is no longer the case with the newest interpreter. The engine was updated to accommodate this change:
    - chainspec was modified to include ''wasm.opcode_costs.sign'' field which dictates the cost of these ops
    - certain execution engine tests no longer make sense, so they've been removed:
      - should_not_accept_sign_ext_i32_e8s_proposal_wasm
      - should_not_accept_sign_ext_i32_e16s_proposal_wasm
      - should_not_accept_sign_ext_i64_e8s_proposal_wasm
      - should_not_accept_sign_ext_i64_e16s_proposal_wasm
      - should_not_accept_sign_ext_i64_e32s_proposal_wasm
    - the appropriate serialization error no longer mentions unsupported sign extension operators
    
    This PR also bumps the supported nightly toolchain to 2024-07-31.
    
    Co-authored-by: igor-casper <[email protected]>
    Co-authored-by: Michał Papierski <[email protected]>
    Co-authored-by: igor-casper <[email protected]>
    4 people authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    515aac5 View commit details
    Browse the repository at this point in the history
  8. add tests, fix lints

    igor-casper committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    e08714c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d9e8498 View commit details
    Browse the repository at this point in the history
  10. apply lints

    igor-casper committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    b7a96f1 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    a1a2f05 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    b6d2063 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    d0b3345 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2024

  1. fix a broken rng test

    igor-casper committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    1617fee View commit details
    Browse the repository at this point in the history
  2. Merging feat-2.0

    Jakub Zajkowski committed Oct 4, 2024
    Configuration menu
    Copy the full SHA
    3567921 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    45b76cb View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2024

  1. Merge branch 'feat-2.0' of github.com:casper-network/casper-node into…

    … rustSDK-feat-2.0
    
    # Conflicts:
    #	types/Cargo.toml
    gRoussac committed Oct 5, 2024
    Configuration menu
    Copy the full SHA
    2cac516 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Configuration menu
    Copy the full SHA
    edef123 View commit details
    Browse the repository at this point in the history
  2. apply clippy lints

    igor-casper committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    ae57f6d View commit details
    Browse the repository at this point in the history
  3. minor formatting changes

    igor-casper committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    9e322e3 View commit details
    Browse the repository at this point in the history
  4. Merge remote-tracking branch 'jakub/restructuring_transaction_datatyp…

    …e' into rustSDK-feat-2.0-transaction
    
    # Conflicts:
    #	types/src/chainspec/transaction_config/transaction_v1_config.rs
    #	types/src/transaction.rs
    #	types/src/transaction/transaction_v1/transaction_v1_body.rs
    #	types/src/transaction/transaction_v1/transaction_v1_builder.rs
    gRoussac committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    b3ce0be View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    da38cbe View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    25d9b02 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1877eec View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c29770b View commit details
    Browse the repository at this point in the history
  9. PR Prep

    darthsiroftardis committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    ff9d7e2 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cd510de View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    3424495 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    449fc2c View commit details
    Browse the repository at this point in the history
  13. Added missing tests to TransactionAcceptor

    Jakub Zajkowski committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    47bb9af View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. stash

    gRoussac committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    149c569 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'restructuring_transaction_datatype' of github.com:zajko…

    …/casper-node into rustSDK-feat-2.0-transaction
    
    # Conflicts:
    #	types/src/transaction/transaction_v1/transaction_v1_builder.rs
    gRoussac committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    7c4705d View commit details
    Browse the repository at this point in the history
  3. Fixed broken import

    Jakub Zajkowski committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    f7c3951 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'refs/heads/feat-2.0' into reserved-slots

    Maciej Wójcik committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    c901768 View commit details
    Browse the repository at this point in the history
  5. refactor expression for clarity

    Maciej Wójcik committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    986b382 View commit details
    Browse the repository at this point in the history
  6. minor doc changes

    igor-casper committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    3a51460 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'restructuring_transaction_datatype' of github.com:zajko…

    …/casper-node into rustSDK-feat-2.0-transaction
    gRoussac committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    1afd8ae View commit details
    Browse the repository at this point in the history
  8. Update comment

    mpapierski committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    0cdeffe View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Added check for "fields" field ordering for deserialization of Transa…

    …ctionV1Payload
    Jakub Zajkowski committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    9309207 View commit details
    Browse the repository at this point in the history
  2. Fmt fixes

    Jakub Zajkowski committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    158ea9e View commit details
    Browse the repository at this point in the history
  3. Lint fixes

    Jakub Zajkowski committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    458d4d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    547afcc View commit details
    Browse the repository at this point in the history
  5. trying to debug charge_when_session_code_succeeds test

    Jakub Zajkowski committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    f3ffe86 View commit details
    Browse the repository at this point in the history
  6. Merge branch 'restructuring_transaction_datatype' of github.com:zajko…

    …/casper-node into rustSDK-feat-2.0-transaction
    gRoussac committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    5f496e9 View commit details
    Browse the repository at this point in the history
  7. Fixing charge_when_session_code_succeeds test

    Jakub Zajkowski committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    68347b0 View commit details
    Browse the repository at this point in the history
  8. Merge casper-network#4900

    4900: Add block info support to EE and Casper VM (casper-network#4853) r=EdHastingsCasperAssociation a=EdHastingsCasperAssociation
    
    This PR adds block info support to the ExecutionEngine and Casper VM. Wasm based logic can request the following fields via a new ffi method directly:
    
        /// This function gets the requested field at `field_idx`. It is up to
        /// the caller to ensure that the correct number of bytes for the field data
        /// are allocated at `dest_ptr`, otherwise data corruption in the wasm memory may occur.
        ///
        /// # Arguments
        ///
        /// * `field_idx` - what info field is requested?
        ///     0 => block time (functionally equivalent to earlier get_blocktime ffi)
        ///     1 => block height
        ///     2 => parent block hash
        ///     3 => state hash
        /// * `dest_ptr` => pointer in wasm memory where to write the result
        pub fn casper_get_block_info(field_idx: u8, dest_ptr: *const u8);
    
    Alternately, the following convenience methods in the contract api offer easy access to each of the four fields, handling the ffi interactions for the user:
    * get_blocktime() -> BlockTime (pre-existing)
    * get_block_height() -> u64
    * get_parent_block_hash() -> Digest
    * get_state_hash() -> Digest
    
    This new mechanism is extensible, and we may add more fields in future releases.
    
    Co-authored-by: Ed Hastings <[email protected]>
    Configuration menu
    Copy the full SHA
    b25664a View commit details
    Browse the repository at this point in the history
  9. Merge casper-network#4906

    4906: TransferTargetMode fix (casper-network#4192) r=EdHastingsCasperAssociation a=EdHastingsCasperAssociation
    
    casper-network#4192 
    As per title.
    
    
    Co-authored-by: Ed Hastings <[email protected]>
    Configuration menu
    Copy the full SHA
    6e8cbe0 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d7ea2c4 View commit details
    Browse the repository at this point in the history
  11. Merge remote-tracking branch 'upstream/feat-2.0' into feat-2.0-misc-bugs

    # Conflicts:
    #	storage/src/global_state/state/mod.rs
    EdHastingsCasperAssociation committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    99282c9 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Merge branch 'restructuring_transaction_datatype' of github.com:zajko…

    …/casper-node into rustSDK-feat-2.0-transaction
    gRoussac committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    2a016fe View commit details
    Browse the repository at this point in the history
  2. refactor snapshot migration

    Maciej Wójcik committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    14a6ccc View commit details
    Browse the repository at this point in the history
  3. Changing TransactionV1 structure. From now on a TransactionV1 consist…

    …s of `hash`, `payload` and `approvals`. `payload` is a merge of `header` and `body` concepts from before. `body` is not represented in a type-constrained way, instead we use an amorphic `fields` of type `BTreeMap<u16, Bytes>` which is more resistant to future changes.
    Jakub Zajkowski committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    078e98e View commit details
    Browse the repository at this point in the history
  4. test snapshot migration

    Maciej Wójcik committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    4287239 View commit details
    Browse the repository at this point in the history
  5. fix casper-network#4898

    igor-casper committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    cfa0b2e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3c2fe10 View commit details
    Browse the repository at this point in the history
  7. Merge casper-network#4904

    4904: Enable missing docs warning on EE and storage crates (casper-network#4106) r=EdHastingsCasperAssociation a=EdHastingsCasperAssociation
    
    casper-network#4106 
    As per title.
    
    Co-authored-by: Ed Hastings <[email protected]>
    Configuration menu
    Copy the full SHA
    adb964a View commit details
    Browse the repository at this point in the history
  8. Merge branch 'restructuring_transaction_datatype' of github.com:zajko…

    …/casper-node into rustSDK-feat-2.0-transaction
    
    # Conflicts:
    #	execution_engine/src/engine_state/mod.rs
    #	execution_engine/src/engine_state/wasm_v1.rs
    #	execution_engine_testing/test_support/src/execute_request_builder.rs
    #	node/src/components/contract_runtime/operations.rs
    #	types/src/chainspec/transaction_config/transaction_v1_config.rs
    #	types/src/transaction.rs
    #	types/src/transaction/transaction_v1/transaction_v1_builder.rs
    gRoussac committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    1f2f1b0 View commit details
    Browse the repository at this point in the history
  9. Merge remote-tracking branch 'upstream/feat-2.0' into feat-2.0-misc-bugs

    # Conflicts:
    #	storage/src/data_access_layer/mint.rs
    #	types/src/transaction/initiator_addr.rs
    #	types/src/transaction/transaction_entry_point.rs
    #	types/src/transaction/transaction_invocation_target.rs
    #	types/src/transaction/transaction_scheduling.rs
    #	types/src/transaction/transaction_target.rs
    EdHastingsCasperAssociation committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    cc67c68 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    74dd6e4 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. add logs

    Maciej Wójcik committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    514da4c View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream/feat-2.0' into restructuring_t…

    …ransaction_datatype
    Jakub Zajkowski committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    4566bde View commit details
    Browse the repository at this point in the history
  3. Added "std" feature switch to code in transaction_v1.rs

    Jakub Zajkowski committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    9c2db43 View commit details
    Browse the repository at this point in the history
  4. initialize snapshot version key

    Maciej Wójcik committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    088afee View commit details
    Browse the repository at this point in the history
  5. Address CI failures

    darthsiroftardis committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    3337fcb View commit details
    Browse the repository at this point in the history
  6. Run make lint

    darthsiroftardis committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e769b58 View commit details
    Browse the repository at this point in the history
  7. Merge casper-network#4912

    4912: [BUGFIX] misc payment edge cases r=EdHastingsCasperAssociation a=EdHastingsCasperAssociation
    
    Addresses casper-network#4782 casper-network#4791 and governance-95
    
    
    Co-authored-by: Ed Hastings <[email protected]>
    Configuration menu
    Copy the full SHA
    9109c7b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    8cb71ff View commit details
    Browse the repository at this point in the history
  9. Add doc comments

    darthsiroftardis committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    d1fa737 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. get era validators from legacy snapshot

    Maciej Wójcik committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    82bd2cb View commit details
    Browse the repository at this point in the history
  2. clear outstanding todos

    Maciej Wójcik committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    982c838 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'feat-2.0' into reserved-slots

    Maciej Wójcik committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    77712fb View commit details
    Browse the repository at this point in the history
  4. fix lints

    igor-casper committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    2d6d6ae View commit details
    Browse the repository at this point in the history
  5. add missing docstrings

    Maciej Wójcik committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    f29a832 View commit details
    Browse the repository at this point in the history
  6. adjust feature flags

    igor-casper committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    f59bb81 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    74c5fd6 View commit details
    Browse the repository at this point in the history
  8. fix lints

    igor-casper committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    144da5c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4b0a4fe View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Merge branch 'restructuring_transaction_datatype' of github.com:zajko…

    …/casper-node into rustSDK-feat-2.0-transaction
    
    # Conflicts:
    #	types/src/transaction/initiator_addr.rs
    #	types/src/transaction/transaction_entry_point.rs
    #	types/src/transaction/transaction_invocation_target.rs
    #	types/src/transaction/transaction_scheduling.rs
    #	types/src/transaction/transaction_target.rs
    gRoussac committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    51890a5 View commit details
    Browse the repository at this point in the history
  2. Merge casper-network#4916

    4916: Key::from_formatted_str no longer produces f64 opcodes in wasm r=igor-casper a=igor-casper
    
    This directly addresses casper-network#4898. The problem lies in the use of `serde_json` across the types crate, and so its usage had been limited in this PR. 
    
    Co-authored-by: igor-casper <[email protected]>
    casperlabs-bors-ng[bot] and igor-casper authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    0ca0d95 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    846c503 View commit details
    Browse the repository at this point in the history
  4. Added QPS rate limiting mechanism to the binary port. The rate limiti…

    …ng mechanism uses sliding window algorithm. Removed "client_request_buffer_size" and "client_request_limit" properties of the "binary_port_server" section. Added "qps_limit" property to said section.
    Jakub Zajkowski committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    7c848c2 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3ac8e35 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    742dd6b View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    52268fc View commit details
    Browse the repository at this point in the history
  8. Merge branch 'feat-2.0' of github.com:casper-network/casper-node into…

    … rustSDK-feat-2.0
    
    # Conflicts:
    #	types/src/cl_value.rs
    #	types/src/transaction/initiator_addr.rs
    #	types/src/transaction/transaction_entry_point.rs
    #	types/src/transaction/transaction_invocation_target.rs
    #	types/src/transaction/transaction_scheduling.rs
    #	types/src/transaction/transaction_target.rs
    gRoussac committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    a1e0350 View commit details
    Browse the repository at this point in the history
  9. Merge casper-network#4907

    4907: Remove unchecked arithmetic r=EdHastingsCasperAssociation a=mpapierski
    
    Closes casper-network#2103 
    
    This PR removes unchecked arithmetic operations. Although nearly impossible this is for correctness reason to avoid using unchecked math even on large numbers.
    
    Co-authored-by: Michał Papierski <[email protected]>
    casperlabs-bors-ng[bot] and mpapierski authored Oct 15, 2024
    Configuration menu
    Copy the full SHA
    874eae2 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Applied CR suggestions

    Jakub Zajkowski committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    da340ba View commit details
    Browse the repository at this point in the history
  2. Merging feat-2.0

    Jakub Zajkowski committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    fe897d4 View commit details
    Browse the repository at this point in the history
  3. Applied CR suggestion

    Jakub Zajkowski committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    49dfb76 View commit details
    Browse the repository at this point in the history
  4. Applied lint

    Jakub Zajkowski committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    604bd1b View commit details
    Browse the repository at this point in the history
  5. Merge casper-network#4917

    4917: Added QPS rate limiting mechanism to the binary port. The rate limiti… r=zajko a=zajko
    
    …ng mechanism uses sliding window algorithm. Removed "client_request_buffer_size" and "client_request_limit" properties of the "binary_port_server" section. Added "qps_limit" property to said section.
    
    
    Co-authored-by: Jakub Zajkowski <[email protected]>
    casperlabs-bors-ng[bot] and Jakub Zajkowski authored Oct 16, 2024
    Configuration menu
    Copy the full SHA
    211cc8d View commit details
    Browse the repository at this point in the history
  6. Merged with feat-2.0

    Jakub Zajkowski committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    baaccb2 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e1b7d75 View commit details
    Browse the repository at this point in the history
  8. Fixing bogus import

    Jakub Zajkowski committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    c276376 View commit details
    Browse the repository at this point in the history
  9. Removed unused code

    Jakub Zajkowski committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    434e76f View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Configuration menu
    Copy the full SHA
    8aa94ec View commit details
    Browse the repository at this point in the history
  2. Manage unwraps

    gRoussac committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    82da161 View commit details
    Browse the repository at this point in the history
  3. remove comment

    gRoussac committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    4bbd6e3 View commit details
    Browse the repository at this point in the history
  4. revert entry_point()

    gRoussac committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    91713a0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f8c6c2d View commit details
    Browse the repository at this point in the history
  6. Merge casper-network#4890

    4890: Changing `TransactionV1` structure. From now on a `TransactionV1` con… r=zajko a=zajko
    
    …sists of `hash`, `payload` and `approvals`. `payload` is a merge of `header` and `body` concepts from before. `body` is not represented in a type-constrained way, instead we use an amorphic `fields` of type `BTreeMap<u16, Bytes>` which is more resistant to future changes.
    
    
    Co-authored-by: Jakub Zajkowski <[email protected]>
    casperlabs-bors-ng[bot] and Jakub Zajkowski authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    6e9f849 View commit details
    Browse the repository at this point in the history
  7. Merge branch 'restructuring_transaction_datatype' of github.com:zajko…

    …/casper-node into rustSDK-feat-2.0-transaction
    
    # Conflicts:
    #	types/src/cl_value.rs
    #	types/src/transaction.rs
    #	types/src/transaction/transaction_invocation_target.rs
    #	types/src/transaction/transaction_scheduling.rs
    gRoussac committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    e779e86 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    022481f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    1a899e2 View commit details
    Browse the repository at this point in the history
  10. Merge remote-tracking branch 'refs/remotes/upstream/feat-2.0' into en…

    …able-addressable-entity
    
    # Conflicts:
    #	execution_engine/src/execution/executor.rs
    #	execution_engine/src/runtime/externals.rs
    #	execution_engine/src/runtime/mod.rs
    #	execution_engine/src/runtime_context/mod.rs
    #	execution_engine/src/runtime_context/tests.rs
    #	execution_engine_testing/tests/src/test/contract_api/add_contract_version.rs
    #	execution_engine_testing/tests/src/test/explorer/faucet.rs
    #	node/src/components/contract_runtime/types.rs
    #	smart_contracts/contract/src/contract_api/runtime.rs
    #	storage/src/data_access_layer.rs
    #	storage/src/data_access_layer/system_entity_registry.rs
    #	storage/src/system/genesis.rs
    #	storage/src/system/protocol_upgrade.rs
    #	storage/src/system/runtime_native.rs
    #	storage/src/system/transfer.rs
    #	storage/src/tracking_copy/ext.rs
    #	storage/src/tracking_copy/mod.rs
    #	types/src/chainspec/vm_config/host_function_costs.rs
    #	types/src/lib.rs
    darthsiroftardis committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    7e36144 View commit details
    Browse the repository at this point in the history
  11. Missing import

    gRoussac committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    a41abcf View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    959905f View commit details
    Browse the repository at this point in the history
  13. again bad import

    gRoussac committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    63977d6 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    81cf707 View commit details
    Browse the repository at this point in the history
  15. Run make format

    darthsiroftardis committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    d4341bf View commit details
    Browse the repository at this point in the history
  16. Fix faucet costs

    darthsiroftardis committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    854c8b7 View commit details
    Browse the repository at this point in the history
  17. Merge branch 'refs/heads/feat-2.0' into add-minimum-bid

    # Conflicts:
    #	types/src/chainspec/transaction_config/transaction_v1_config.rs
    #	types/src/lib.rs
    #	types/src/transaction/transaction_v1.rs
    #	types/src/transaction/transaction_v1/transaction_v1_body.rs
    darthsiroftardis committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    ada9291 View commit details
    Browse the repository at this point in the history
  18. Address merge issues

    darthsiroftardis committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    4d58809 View commit details
    Browse the repository at this point in the history
  19. Merge casper-network#4909

    4909: Backfilled changelog with types that were added, changed, removed r=EdHastingsCasperAssociation a=zajko
    
    Please consider the following when creating a PR:
    
    * Provide a useful description of this PR, suitably verbose, aimed at helping reviewers and contributors
    * Update all relevant changelogs
    * Provide a link to the GitHub issue relating to this PR
    * Identify if any downstream impact as in to, SDKs, SmartContracts etc
    
    
    Co-authored-by: Jakub Zajkowski <[email protected]>
    casperlabs-bors-ng[bot] and Jakub Zajkowski authored Oct 17, 2024
    Configuration menu
    Copy the full SHA
    5a13e6a View commit details
    Browse the repository at this point in the history
  20. Merge casper-network#4910

    4910: Add minimum bid amount to add and withdraw bid r=darthsiroftardis a=darthsiroftardis
    
    CHANGELOG:
    
    - Added `minimum_bid_amount` to core config in chainspec which specifies the minimum bid amount in motes
    - Changed `add_bid` function to return error if the staked amount is under the minimum amount
    - Changed `withdraw_bid` function to completely unbond a validator is their updated stake drops to strictly less than the min bid amount
    - Changed `add_bid` from u32 to u64
    
    Closes casper-network#4834 
    
    
    
    Co-authored-by: Karan Dhareshwar <[email protected]>
    Configuration menu
    Copy the full SHA
    ce03bbf View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. Configuration menu
    Copy the full SHA
    c4f38a8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    00d4d2d View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2024

  1. Configuration menu
    Copy the full SHA
    0c28b24 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'feat-2.0' of github.com:casper-network/casper-node into…

    … rustSDK-feat-2.0
    
    # Conflicts:
    #	types/CHANGELOG.md
    gRoussac committed Oct 19, 2024
    Configuration menu
    Copy the full SHA
    1c4ac1d View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Revert

    gRoussac committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    d0d5788 View commit details
    Browse the repository at this point in the history
  2. Merge casper-network#4714

    4714: Complete feature `std-fs-io` in casper-types for wasm compilation r=zajko a=gRoussac
    
    Remove filesystem I/O functionality from the `std` feature, and gate this behind a new feature `std-fs-io` which depends upon `std`.
     
    Allows to compile types without `from_file/to_file/sysconf/os clock`
     
    Remove compilation warnings for feat `testing`
    
    Add `lint-no-default-features/check-no-default-features`
    
    Add documentation on `deploy_hash_arb`
    
    
    Co-authored-by: gRoussac <[email protected]>
    casperlabs-bors-ng[bot] and gRoussac authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    1ab1ff8 View commit details
    Browse the repository at this point in the history
  3. Nesting wasm config into "v1" field so that we can have clear separat…

    …ion of configs between VMs in the future. Promoting "storage_costs" property in chainspec to root since it's not a wasm-specific property
    Jakub Zajkowski committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    4fcd409 View commit details
    Browse the repository at this point in the history
  4. removed incorrect entry from types/changelog.md

    Jakub Zajkowski committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    00ed156 View commit details
    Browse the repository at this point in the history
  5. removed incorrect entry from types/changelog.md

    Jakub Zajkowski committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    ffbdc08 View commit details
    Browse the repository at this point in the history
  6. merging

    Jakub Zajkowski committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    73226f2 View commit details
    Browse the repository at this point in the history
  7. remove max-dep chainspec

    igor-casper committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    e38e9e3 View commit details
    Browse the repository at this point in the history
  8. format and lints

    igor-casper committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    08b2876 View commit details
    Browse the repository at this point in the history
  9. Fixed broken test

    Jakub Zajkowski committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    e19e6b6 View commit details
    Browse the repository at this point in the history
  10. Removed unused struct

    Jakub Zajkowski committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    39eedaf View commit details
    Browse the repository at this point in the history
  11. Removed unused struct

    Jakub Zajkowski committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    2a70443 View commit details
    Browse the repository at this point in the history
  12. Merge casper-network#4901

    4901: Changed  from enum to struct, moved  variant as a variant which allo… r=zajko a=zajko
    
    …wed to promote  to a field directly on
    
    Please consider the following when creating a PR:
    
    * Provide a useful description of this PR, suitably verbose, aimed at helping reviewers and contributors
    * Update all relevant changelogs
    * Provide a link to the GitHub issue relating to this PR
    * Identify if any downstream impact as in to, SDKs, SmartContracts etc
    
    
    Co-authored-by: Jakub Zajkowski <[email protected]>
    casperlabs-bors-ng[bot] and Jakub Zajkowski authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    b875b1e View commit details
    Browse the repository at this point in the history
  13. Merge casper-network#4919

    4919: Replace URLs with CasperLabs/... to casper-network/... r=igor-casper a=igor-casper
    
    This PR replaces all casperlabs urls with casper-network urls across toml/md files and comments.
    
    Co-authored-by: igor-casper <[email protected]>
    casperlabs-bors-ng[bot] and igor-casper authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    7750e81 View commit details
    Browse the repository at this point in the history
  14. Updated rest of chainspecs

    Jakub Zajkowski committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    9bc7270 View commit details
    Browse the repository at this point in the history
  15. Merge casper-network#4921

    4921: Nesting wasm config into "v1" field so that we can have clear separat… r=zajko a=zajko
    
    …ion of configs between VMs in the future. Promoting "storage_costs" property in chainspec to root since it's not a wasm-specific property
    
    
    Co-authored-by: Jakub Zajkowski <[email protected]>
    casperlabs-bors-ng[bot] and Jakub Zajkowski authored Oct 21, 2024
    Configuration menu
    Copy the full SHA
    7971492 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2024

  1. fix a broken rng test

    igor-casper committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    b46df04 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e1fe75 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    82162e1 View commit details
    Browse the repository at this point in the history
  4. apply lints

    igor-casper committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    db38f82 View commit details
    Browse the repository at this point in the history
  5. Merge casper-network#4922

    4922: Remove max_dependencies from chainspec r=igor-casper a=igor-casper
    
    Addresses casper-network#4567 by removing the max_dependencies setting from chainspec.
    
    This was not supported before, and is still not supported in 2.0
    
    Co-authored-by: igor-casper <[email protected]>
    Co-authored-by: igor-casper <[email protected]>
    3 people authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    9669f5b View commit details
    Browse the repository at this point in the history
  6. Merge remote-tracking branch 'refs/remotes/upstream/feat-2.0' into en…

    …able-addressable-entity
    
    # Conflicts:
    #	execution_engine/src/engine_state/engine_config.rs
    #	execution_engine_testing/tests/src/test/contract_messages.rs
    #	execution_engine_testing/tests/src/test/storage_costs.rs
    #	execution_engine_testing/tests/src/test/system_contracts/upgrade.rs
    #	types/src/chainspec/genesis_config.rs
    darthsiroftardis committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    d1c7ec4 View commit details
    Browse the repository at this point in the history
  7. Make lint and fmt

    darthsiroftardis committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    eb987e4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f0efe9f View commit details
    Browse the repository at this point in the history
  9. exts adjustments

    igor-casper committed Oct 22, 2024
    Configuration menu
    Copy the full SHA
    827332e View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    8e5f328 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    4906b14 View commit details
    Browse the repository at this point in the history
  12. Merge casper-network#4903

    4903: Implement generic_hash() host function to support hashing algorithms r=igor-casper a=igor-casper
    
    This PR directly addresses casper-network#4892, referencing casper-network#4411 as prior work.
    
    Adds host function called generic_hash(input, type) with support for the following types:
    - HashAlgorithm::Blake2b - using the existing blake2b implementation,
    - HashAlgorithm::Blake3 - introducing the blake3 library,
    - HashAlgorithm::Sha256 - introducing the sha2 library,
    
    **Example usage**
    ```rs
    #![no_std]
    #![no_main]
    
    extern crate alloc;
    use alloc::string::String;
    
    use casper_contract::contract_api::cryptography;
    use casper_types::crypto::HashAlgorithm;
    
    #[no_mangle]
    pub extern "C" fn call() {
        let data = "sha256 hash test";
        let expected = [0x29, 0xD2, 0xC7, 0x7B, 0x39, 0x7F, 0xF6, 0x9E, 0x25, 0x0D, 0x81, 0xA3, 0xBA, 0xBB, 0x32, 0xDE, 0xFF, 0x3C, 0x2D, 0x06, 0xC9, 0x8E, 0x5E, 0x73, 0x60, 0x54, 0x3C, 0xE4, 0x91, 0xAC, 0x81, 0xCA];
    
        let hash = cryptography::generic_hash(data, HashAlgorithm::Sha256);
        
        assert_eq!(
            hash, expected,
            "Hash mismatch"
        );
    }
    ```
    
    **Notes**
    - Blake2 is implemented in the types crate and it's been that way for some time, ideally it would be moved into the cryptography module where blake3 and sha256 reside
    - The costs were referenced from casper-network#4411
    
    Co-authored-by: igor-casper <[email protected]>
    Co-authored-by: igor-casper <[email protected]>
    3 people authored Oct 22, 2024
    Configuration menu
    Copy the full SHA
    2623d45 View commit details
    Browse the repository at this point in the history
  13. Merge casper-network#4928

    4928: [BUGFIX]: Fix transfer recording r=darthsiroftardis a=darthsiroftardis
    
    CHANGELOG:
    
    - Fixed recording of transfer to global state to use the cost of native transfer as opposed to zero 
    
    Co-authored-by: Karan Dhareshwar <[email protected]>
    Configuration menu
    Copy the full SHA
    b8f2c20 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    94bf306 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    0ed5d1f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    70d3871 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0e0d3c0 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    506a2dc View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2024

  1. Merge branch 'feat-2.0' into reserved-slots

    Maciej Wójcik committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    fde800f View commit details
    Browse the repository at this point in the history
  2. post-merge fixes

    Maciej Wójcik committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    14e0614 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7190c36 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    326c1a5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2c9c08f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1069597 View commit details
    Browse the repository at this point in the history
  7. Merge pull request casper-network#20 from EdHastingsCasperAssociation…

    …/enable-addressable-entity-tweaks
    
    Enable Addressable Entity tweaks
    darthsiroftardis authored Oct 23, 2024
    Configuration menu
    Copy the full SHA
    69c78a4 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    20cfcac View commit details
    Browse the repository at this point in the history
  9. Merge remote-tracking branch 'refs/remotes/upstream/feat-2.0' into en…

    …able-addressable-entity
    
    # Conflicts:
    #	execution_engine/src/runtime/mod.rs
    #	execution_engine_testing/test_support/src/transfer_request_builder.rs
    #	execution_engine_testing/test_support/src/wasm_test_builder.rs
    #	execution_engine_testing/tests/src/test/contract_messages.rs
    #	smart_contracts/contract/src/contract_api/runtime.rs
    #	storage/src/system/runtime_native.rs
    #	types/src/chainspec/vm_config/host_function_costs.rs
    darthsiroftardis committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    a0beccc View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    977af35 View commit details
    Browse the repository at this point in the history
  11. Run make format

    darthsiroftardis committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    9f1d349 View commit details
    Browse the repository at this point in the history
  12. Fix schema test

    darthsiroftardis committed Oct 23, 2024
    Configuration menu
    Copy the full SHA
    6db6e33 View commit details
    Browse the repository at this point in the history
  13. Merge casper-network#4897

    4897: Add chainspec setting to enable Addressable Entity r=darthsiroftardis a=darthsiroftardis
    
    CHANGELOG:
    
    
    - Add chainspec setting to the core config which enables the addressable entity and migrates accounts and contracts lazily to the entity, along with the named keys and entry points
    
    Co-authored-by: Karan Dhareshwar <[email protected]>
    Configuration menu
    Copy the full SHA
    3023676 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2024

  1. Merge branch 'feat-2.0' into reserved-slots

    Maciej Wójcik committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    acfbfe7 View commit details
    Browse the repository at this point in the history
  2. post-merge fixes

    Maciej Wójcik committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    03eeb87 View commit details
    Browse the repository at this point in the history
  3. update faucet install cost

    Maciej Wójcik committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    62a9763 View commit details
    Browse the repository at this point in the history
  4. Revert a change left by mistake from an old PR; always prune zero del…

    …egator bids while forcibly unbonding
    fizyk20 committed Oct 24, 2024
    Configuration menu
    Copy the full SHA
    175cd34 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    653add8 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2024

  1. Merge casper-network#4841

    4841: Implement delegator slot reservation r=darthsiroftardis a=wojcik91
    
    
    
    Co-authored-by: Jacek Chmielewski <[email protected]>
    Co-authored-by: Maciej Wójcik <[email protected]>
    3 people authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    a30c646 View commit details
    Browse the repository at this point in the history
  2. Merge casper-network#4933

    4933: Metrics timings r=EdHastingsCasperAssociation a=darthsiroftardis
    
    Update the histogram timings for the metrics
    
    Closes casper-network#3770 
    
    
    Co-authored-by: Karan Dhareshwar <[email protected]>
    Configuration menu
    Copy the full SHA
    43209a1 View commit details
    Browse the repository at this point in the history
  3. Merge casper-network#4932

    4932: Fix handling zero bids in forced_undelegate r=EdHastingsCasperAssociation a=fizyk20
    
    This PR reverts a change from casper-network#4802 left in by mistake (should have been reverted in casper-network#4827).
    
    It also makes sure that we always prune zero bids, even if the minimum delegation amount allowed by a validator is zero.
    
    Closes casper-network#4920
    
    
    
    Co-authored-by: Bartłomiej Kamiński <[email protected]>
    casperlabs-bors-ng[bot] and fizyk20 authored Oct 25, 2024
    Configuration menu
    Copy the full SHA
    a44f882 View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2024

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

Commits on Nov 12, 2024

  1. make check

    AlexanderLimonov committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    ae11bd9 View commit details
    Browse the repository at this point in the history