8000 Comparing v1.2.1...v1.2.2 · trufnetwork/node · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Permalink

Comparing changes

Choos 8000 e two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: trufnetwork/node
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.2.1
Choose a base ref
...
head repository: trufnetwork/node
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.2.2
Choose a head ref
  • 7 commits
  • 19 files changed
  • 2 contributors

Commits on Feb 25, 2025

  1. chore: update docker image to support v0.9.4 (#799)

    chore: bump Go version in Dockerfile to 1.22.7
    outerlook authored Feb 25, 2025
    Configuration menu
    Copy the full SHA
    2ace8c7 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2025

  1. chore: define stream behavior contracts and expectations (#807)

    * docs: define stream behavior contracts and expectations
    
    Add comprehensive documentation outlining the expected behaviors for streams, covering key aspects such as:
    - Authorization rules
    - Data querying capabilities
    - Data insertion constraints
    - Composition and aggregation mechanisms
    - Address and stream ID validation requirements
    
    * docs: add purpose statement to stream behavior contracts document
    
    * Update contracts_behaviors.md
    outerlook authored Mar 3, 2025
    Configuration menu
    Copy the full SHA
    455b152 View commit details
    Browse the repository at this point in the history
  2. test: insertion behavior (#814)

    * test: insertion behavior
    
    * chore: make test easier to find
    MicBun authored Mar 3, 2025
    Configuration menu
    Copy the full SHA
    5f1c153 View commit details
    Browse the repository at this point in the history
  3. chore: tests for authorization (#813)

    * test: add comprehensive authorization tests for stream contracts
    
    Implement detailed test suite for stream authorization behaviors:
    - Stream ownership transfer
    - Read permission control
    - Write permission control
    - Composition permission control
    
    The tests cover various scenarios for AUTH.01 through AUTH.04, ensuring proper access management and permission validation across different stream types.
    
    * refactor: remove redundant authorization test cases
    
    Remove previously implemented test cases for stream authorization, including:
    - Ownership transfer tests
    - Invalid Ethereum address handling
    - Permissions after visibility change
    - Stream composition permission tests
    
    This cleanup simplifies the test suite while maintaining the core authorization contract behaviors defined in contracts_behaviors.md.
    
    * refactor: extract common test procedures and setup utilities
    
    Reorganize authorization test suite by:
    - Creating dedicated utility packages for test procedures and setup
    - Extracting common helper functions into reusable methods
    - Improving error handling and logging in test scenarios
    - Simplifying test code structure and reducing duplication
    
    The changes include:
    - Adding `procedure` package for common test procedure calls
    - Adding `setup` package for contract initialization and management
    - Removing inline helper functions from test file
    - Enhancing input structs for better type safety and readability
    
    * refactor: simplify common test utilities for contract testing
    
    Update common test file to use new utility packages for:
    - Contract setup and initialization
    - Metadata and procedure operations
    - Reducing code duplication
    - Improving test readability and maintainability
    
    Changes include:
    - Removing inline helper functions
    - Using new setup and procedure utility packages
    - Updating function signatures to use new utility structs
    - Cleaning up import statements
    
    * refactor: standardize authorization contract behavior identifiers
    
    Update authorization contract behavior identifiers in documentation and tests:
    - Remove dot notation from AUTH identifiers (e.g., AUTH.01 → AUTH01)
    - Ensure consistent identifier format across contracts_behaviors.md and test files
    - Maintain semantic meaning of authorization behavior descriptions
    outerlook authored Mar 3, 2025
    Configuration menu
    Copy the full SHA
    693fbb6 View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2025

  1. test: Querying behaviors (#815)

    * test: Querying behaviours
    
    * test: additional test to confirm only latest inserted data fetched
    MicBun authored Mar 4, 2025
    Configuration menu
    Copy the full SHA
    a46d765 View commit details
    Browse the repository at this point in the history
  2. chore: add comprehensive aggregation tests (#817)

    * feat: add SetTaxonomy procedure for stream taxonomy configuration
    
    Implement new SetTaxonomy function to:
    - Configure taxonomy for composed streams
    - Support optional start date specification
    - Handle taxonomy setup through platform engine procedure
    - Provide robust error handling for taxonomy configuration
    
    * refactor: standardize composition and aggregation behavior identifiers
    
    Update composition and aggregation contract behavior identifiers in documentation:
    - Add unique identifiers (AGGR01-AGGR06) to each aggregation behavior
    - Remove redundant description of composed stream index value generation
    - Maintain semantic meaning of composition and aggregation behavior descriptions
    
    * test: add comprehensive aggregation behavior tests
    
    Implement a detailed test suite for composed stream aggregation behaviors, covering:
    - Basic aggregation with multiple child streams
    - Weighted stream contributions
    - Taxonomy validity periods
    - Missing data handling
    - Preventing duplicate child streams
    - Ensuring single active taxonomy version
    
    The tests validate the core aggregation contract behaviors defined in contracts_behaviors.md, ensuring robust and predictable stream composition and data aggregation.
    
    * test: remove redundant composed stream test cases
    
    Simplify the composed stream test suite by removing:
    - Last available data test
    - No past data test
    - Weights in composition test
    - Set taxonomy with start date test
    
    This cleanup reduces test complexity while maintaining core composition contract behaviors.
    
    * chore: add .cursor to .gitignore
    outerlook authored Mar 4, 2025
    Configuration menu
    Copy the full SHA
    c107e26 View commit details
    Browse the repository at this point in the history
  3. chore: add validation tests for "Other" section (#818)

    test: add validation tests for address and stream ID requirements
    
    Implement comprehensive tests for contract address and stream ID validation:
    - Test address format validation (0x prefix, lowercase, valid length)
    - Verify address normalization to lowercase
    - Prepare stream ID validation test structure
    - Add test for preventing duplicate stream IDs within an owner's namespace
    
    The tests cover the [OTHER01] and [OTHER02] contract behavior requirements defined in contracts_behaviors.md.
    outerlook authored Mar 4, 2025
    Configuration menu
    Copy the full SHA
    b161310 View commit details
    Browse the repository at this point in the history
Loading
0