Open
Conversation
…olation and storage initialization
…d. Add simple utility tests that run natively.
… Framework - Reorganized scripts into bin/build, bin/net, bin/test for better maintainability - Fixed compiler errors and warnings throughout the codebase - Implemented MockYieldVault for dependency-free testing - Created unified yield-vault.sh entry point - Added comprehensive toolchain documentation in TOOLCHAIN_SETUP.md - Restored secp256k1-sys with stub implementations for cross-platform support - Fixed key storage patterns (StoragePointer::from_keyword) - Enabled working test suite with 5 passing tests
- Successfully deployed contract to OylNet network - Contract ID: 7dbd26587f4d058577afa7e180fe1bfbe4941e6b5459e783d14e336c18238f0f - Initialized contract and verified view functions - Updated documentation in memory-bank - Organized deployment scripts and cleaned up repository
- Updated deployment scripts to deploy fresh contracts - Pruned deprecated test files - Added setup guide and updated documentation - Enhanced yield-vault.sh script with new commands
- Created address format validation patch (load_patch.js) - Updated deployment scripts to use absolute paths - Modified deployment parameters to use numeric-only values - Successfully deployed and initialized contract on OylNet - Added comprehensive documentation: * setup_guide.md: Project setup instructions * deployment_process.md: Detailed deployment process * test_guide.md: Testing instructions * progress.md: Updated with latest progress - Fixed test execution with correct target specification
- Created address format validation patch (load_patch.js) - Updated deployment scripts to use absolute paths - Modified deployment parameters to use numeric-only values - Successfully deployed and initialized contract on OylNet - Added comprehensive documentation: * setup_guide.md: Project setup instructions * deployment_process.md: Detailed deployment process * test_guide.md: Testing instructions * progress.md: Updated with latest progress - Fixed test execution with correct target specification
- Created address format validation patch (load_patch.js) - Updated deployment scripts to use absolute paths - Modified deployment parameters to use numeric-only values - Successfully deployed and initialized contract on OylNet - Added comprehensive documentation: * setup_guide.md: Project setup instructions * deployment_process.md: Detailed deployment process * test_guide.md: Testing instructions * progress.md: Updated with latest progress - Fixed test execution with correct target specification
- Created address format validation patch (load_patch.js) - Updated deployment scripts to use absolute paths - Modified deployment parameters to use numeric-only values - Successfully deployed and initialized contract on OylNet - Added comprehensive documentation: * setup_guide.md: Project setup instructions * deployment_process.md: Detailed deployment process * test_guide.md: Testing instructions * progress.md: Updated with latest progress - Fixed test execution with correct target specification
- Created address format validation patch (load_patch.js) - Updated deployment scripts to use absolute paths - Modified deployment parameters to use numeric-only values - Successfully deployed and initialized contract on OylNet - Added comprehensive documentation: * setup_guide.md: Project setup instructions * deployment_process.md: Detailed deployment process * test_guide.md: Testing instructions * progress.md: Updated with latest progress - Fixed test execution with correct target specification
- Created address format validation patch (load_patch.js) - Updated deployment scripts to use absolute paths - Modified deployment parameters to use numeric-only values - Successfully deployed and initialized contract on OylNet - Added comprehensive documentation: * setup_guide.md: Project setup instructions * deployment_process.md: Detailed deployment process * test_guide.md: Testing instructions * progress.md: Updated with latest progress - Fixed test execution with correct target specification
- Created address format validation patch (load_patch.js) - Updated deployment scripts to use absolute paths - Modified deployment parameters to use numeric-only values - Successfully deployed and initialized contract on OylNet - Added comprehensive documentation: * setup_guide.md: Project setup instructions * deployment_process.md: Detailed deployment process * test_guide.md: Testing instructions * progress.md: Updated with latest progress - Fixed test execution with correct target specification
- Created alkane_id_verification_tests.rs with 9 test cases - Implemented RealisticMockVault to simulate transaction context - Verified token-based architecture security model - Updated documentation: * progress.md: Added alkane ID verification testing details * test_guide.md: Updated with new test file * asset_management_analysis.md: Added alkane ID verification section * oylnet_test_plan.md: Created detailed plan for OylNet testing - All tests pass successfully with x86_64-unknown-linux-gnu target
…mprehensive information about alkane ID verification fix and token-based architecture.
- Created alkane_id_verification_tests.rs with 9 test cases - Implemented RealisticMockVault to simulate transaction context - Verified token-based architecture security model - Updated documentation: * progress.md: Added alkane ID verification testing details * test_guide.md: Updated with new test file * asset_management_analysis.md: Added alkane ID verification section * oylnet_test_plan.md: Created detailed plan for OylNet testing - All tests pass successfully with x86_64-unknown-linux-gnu target
- Created alkane_id_verification_tests.rs with 9 test cases - Implemented RealisticMockVault to simulate transaction context - Verified token-based architecture security model - Updated documentation: * progress.md: Added alkane ID verification testing details * test_guide.md: Updated with new test file * asset_management_analysis.md: Added alkane ID verification section * oylnet_test_plan.md: Created detailed plan for OylNet testing - All tests pass successfully with x86_64-unknown-linux-gnu target
- Implemented ERC-4626 inflation attack protection mechanisms: * Added virtual offset to limit exchange rate manipulation * Added precision offset to prevent rounding to zero for small deposits * Created inflation_attack_protection_tests.rs with 4 test cases - Updated MockYieldVault implementation: * Modified convert_assets_to_tokens and convert_tokens_to_assets methods * Enhanced yield accrual calculation for better precision * Fixed test cases to account for virtual offset and precision offset - Added documentation: * Created inflation_attack_protection.md with detailed implementation notes * Documented security considerations for ERC-4626 implementation - All tests pass successfully with x86_64-unknown-linux-gnu target
- Implemented ERC-4626 inflation attack protection mechanisms: * Added virtual offset to limit exchange rate manipulation * Added precision offset to prevent rounding to zero for small deposits * Created inflation_attack_protection_tests.rs with 4 test cases - Updated MockYieldVault implementation: * Modified convert_assets_to_tokens and convert_tokens_to_assets methods * Enhanced yield accrual calculation for better precision * Fixed test cases to account for virtual offset and precision offset - Added documentation: * Created inflation_attack_protection.md with detailed implementation notes * Documented security considerations for ERC-4626 implementation - All tests pass successfully with x86_64-unknown-linux-gnu target
- Implemented declare_alkane macro for ALKANES SDK compatibility: * Merged message.rs into lib.rs for simplified codebase structure * Added __execute function as the WebAssembly entry point * Implemented proper parameter handling for different types * Fixed type conversion between Vec<u8> and *mut u8 - Updated deployment scripts: * Modified run_e2e_test_simple.sh to include all required parameters * Created simple_test.rs to verify macro functionality - Added documentation: * Created declare_alkane_implementation_result.md with detailed implementation notes * Documented parameter handling and deployment requirements - Successfully deployed contract to blockchain with transaction ID
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.