-
Notifications
You must be signed in to change notification settings - Fork 3
Comparing changes
Open a pull request
base repository: trufnetwork/node
base: v1.2.1
head repository: trufnetwork/node
compare: v1.2.2
- 7 commits
- 19 files changed
- 2 contributors
Commits on Feb 25, 2025
-
chore: update docker image to support v0.9.4 (#799)
chore: bump Go version in Dockerfile to 1.22.7
Configuration menu - View commit details
-
Copy full SHA for 2ace8c7 - Browse repository at this point
Copy the full SHA 2ace8c7View commit details
Commits on Mar 3, 2025
-
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
Configuration menu - View commit details
-
Copy full SHA for 455b152 - Browse repository at this point
Copy the full SHA 455b152View commit details -
test: insertion behavior (#814)
* test: insertion behavior * chore: make test easier to find
Configuration menu - View commit details
-
Copy full SHA for 5f1c153 - Browse repository at this point
Copy the full SHA 5f1c153View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 693fbb6 - Browse repository at this point
Copy the full SHA 693fbb6View commit details
Commits on Mar 4, 2025
-
test: Querying behaviors (#815)
* test: Querying behaviours * test: additional test to confirm only latest inserted data fetched
Configuration menu - View commit details
-
Copy full SHA for a46d765 - Browse repository at this point
Copy the full SHA a46d765View commit details -
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
Configuration menu - View commit details
-
Copy full SHA for c107e26 - Browse repository at this point
Copy the full SHA c107e26View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for b161310 - Browse repository at this point
Copy the full SHA b161310View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.2.1...v1.2.2