Working tree is now the canonical repo. Off-chain play-money + trustless on-chain (FPMM AMM + CLOB via UMA settlement), AI market factory, creator/social/distribution, mobile shell + push, one-command demo + deploy-kit. Secrets excluded (see ENV-AND-KEYS.md). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
11 lines
376 B
JavaScript
11 lines
376 B
JavaScript
extendEnvironment(env => {
|
|
const { contract } = env;
|
|
|
|
env.contract = function (name, body) {
|
|
// remove the default account from the accounts list used in tests, in order
|
|
// to protect tests against accidentally passing due to the contract
|
|
// deployer being used subsequently as function caller
|
|
contract(name, accounts => body(accounts.slice(1)));
|
|
};
|
|
});
|