Skip to content

Contracts: Fix MarketFactory compilation and deployment issues - #1502

Merged
Ehonrie merged 2 commits into
Netwalls:mainfrom
icentedward76-sketch:batch-169-features
Oct 21, 2026
Merged

Ehonrie merged 2 commits into
Netwalls:mainfrom
icentedward76-sketch:batch-169-features

Conversation

@icentedward76-sketch

Copy link
Copy Markdown
Contributor

Closes #1347
Closes #1348
Closes #1349
Closes #1350

icentedward76-sketch and others added 2 commits October 20, 2026 12:33
- Netwalls#1347: Load wasm_hash from MARKET_WASM_HASH storage; use ToXdr for market_id preimage; derive salt deterministically from market_id sha256
- Netwalls#1348: Pass all 12 args to Market::initialize with correct types (market_id, Fighter structs, timestamps, addresses, config); add bet_token to ProtocolConfig
- Netwalls#1349: Fix invoke_contract argument conversions using IntoVal; refactor get_config and get_treasury as internal helpers taking &Env with public delegators
- Netwalls#1350: Fix market_key lifetimes to 'static; update test initialize calls with all required args; fix event assertion API usage

Closes Netwalls#1347, Netwalls#1348, Netwalls#1349, Netwalls#1350
@Ehonrie
Ehonrie merged commit 6fbf660 into Netwalls:main Oct 21, 2026
0 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants