Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions service_contracts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,14 @@ check-tools:
fi
@which forge >/dev/null 2>&1 || (echo "Error: forge is required but not installed" && exit 1)

# Test target
# Test target.
# MultiMethodAuthorizer.t.sol exercises the secp256r1 precompile at 0x100, which revm only implements
# at evm_version=osaka (RIP-7212 / EIP-7951). The default evm_version reserves 0x100 but returns empty,
# so that suite is run separately at osaka; every other test stays on the repo default.
.PHONY: test
test:
forge test --via-ir -vv
forge test --via-ir -vv --no-match-contract MultiMethodAuthorizerTest
FOUNDRY_EVM_VERSION=osaka forge test --via-ir -vv --match-contract MultiMethodAuthorizerTest

# Clean build artifacts
.PHONY: clean
Expand Down
1 change: 1 addition & 0 deletions service_contracts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This directory contains the smart contracts for different Filecoin services usin
- `FilecoinWarmStorageService.sol` - A service contract with [PDP](https://github.com/FilOzone/pdp) (Proof of Data Possession) and payment integration
- `FilecoinWarmStorageServiceStateView.sol` - View contract for reading `FilecoinWarmStorageService` with `eth_call`.
- `IFilecoinServiceMetadata.sol` - Minimal service identity interface (`name`, `description`, `homepage`)
- `examples/MultiMethodAuthorizer.sol` - Reference P256 (machine key + passkey) authorizer for the optional per-data-set write ACL (PR #536); see `examples/MultiMethodAuthorizer.md`
- `src/lib` - Library source files
- `FilecoinWarmStorageServiceLayout.sol` - Constants conveying the storage layout of `FilecoinWarmStorageService`
- `FilecoinWarmStorageServiceStateInternalLibrary.sol` - `internal` library for embedding logic to read `FilecoinWarmStorageService`
Expand Down
Loading
Loading