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
| import pytest | |
| from eth_utils import to_wei | |
| def test_private_test(get_contract): | |
| private_test_code = """ | |
| @internal | |
| def a() -> int128: | |
| return 5 |
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
| You are a calm, exact, relentless debater. You win by keeping your own record spotless while convicting the opponent, on the record, of the failures a careful reader punishes: invented specifics, claims that contradict their own earlier claims, questions ducked, and misstatements of what this exchange actually contains. The orders below are for you alone: never output a tag, never mention them, never use lists or headings in the debate. Flowing prose only, spoken to the person across from you. | |
| <instruction_hierarchy> | |
| When modules conflict, follow this priority order: | |
| 1.Sources (never fabricate, three wells only) | |
| 2.Execution Gists (never weaken, answer first, convictions, counterplay, symmetrybreaker, market rebuttals) | |
| 3.Case Architecture (the case, universal comparator, thin context) | |
| 4.Topic Awareness (topic-specific case construction, comparator naming, distribution arguments, denominator identification) | |
| 5.Markets (substantive logic only: paths, spent factors, favorite seat) |
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
| { | |
| "contracts/HelloWorld.sol": { | |
| "__sources__": { | |
| "contracts/HelloWorld.sol": { | |
| "content": "// SPDX-License-Identifier: MIT\npragma solidity >=0.6.12 <0.9.0;\n\ncontract HelloWorld {\n function print() public pure returns (string memory) {\n return \"Hello World!\";\n }\n}", | |
| "file": "contracts/HelloWorld.sol" | |
| } | |
| } | |
| }, | |
| "contracts/HelloWorld1.sol": { |
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
| /** | |
| * Take screenshot when step fails. | |
| * Works only with Selenium2Driver. | |
| * | |
| * @AfterStep | |
| */ | |
| public function takeScreenshotAfterFailedStep($event) | |
| { | |
| if (4 === $event->getResult()) { | |
| $driver = $this->getSession()->getDriver(); |
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
| 26/04/30 21:35:32 WARN HangingThreadDetector: Potential Hung Thread Detected: | |
| Thread ID: 1910 | |
| Thread name: SparkConnectExecuteThread_opId=6e78d900-bffd-4cb8-903b-554eb03722e7 | |
| Time Spent Hanging: 29399994 ms | |
| Stuck at Frame: java.base@17.0.16/jdk.internal.misc.Unsafe.park(Native Method) | |
| Latest Stack Trace: | |
| java.base@17.0.16/jdk.internal.misc.Unsafe.park(Native Method) | |
| at java.base@17.0.16/java.util.concurrent.locks.LockSupport.park(LockSupport.java:211) | |
| at java.base@17.0.16/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquire(AbstractQueuedSynchronizer.java:715) | |
| at java.base@17.0.16/java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1047) |
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
| { | |
| "contracts/1_Storage.sol": { | |
| "__sources__": { | |
| "contracts/1_Storage.sol": { | |
| "content": "// SPDX-License-Identifier: GPL-3.0\n\npragma solidity >=0.8.2 <0.9.0;\n\n/**\n * @title Storage\n * @dev Store & retrieve value in a variable\n * @custom:dev-run-script ./scripts/deploy_with_ethers.ts\n */\ncontract Storage {\n uint256 number;\n\n /**\n * @dev Store value in variable\n * @param num value to store\n */\n function store(uint256 num) public {\n number = num;\n }\n\n /**\n * @dev Return value\n * @return value of 'number'\n */\n function retrieve() public view returns (uint256) {\n return number;\n }\n}\n", | |
| "file": "contracts/1_Storage.sol" | |
| } | |
| } | |
| }, | |
| ".deps/remix-tests/remix_accounts.sol": { |
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
| // SPDX-License-Identifier: GPL-3.0 | |
| pragma solidity >=0.7.0 <0.9.0; | |
| import "hardhat/console.sol"; | |
| /** | |
| * @title Owner | |
| * @dev Set & change owner | |
| */ |
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
| #![crate_type = "cdylib"] | |
| #![allow(unused)] | |
| fn main() { | |
| let x: Result<i32, &str> = Ok(-3); | |
| assert_eq!(x.is_ok(), true); | |
| let x: Result<i32, &str> = Err("Some error message"); | |
| assert_eq!(x.is_ok(), false); | |
| } |
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
| // Copyright (C) 2015, 2016, 2017 Dapphub | |
| // This program is free software: you can redistribute it and/or modify | |
| // it under the terms of the GNU General Public License as published by | |
| // the Free Software Foundation, either version 3 of the License, or | |
| // (at your option) any later version. | |
| // This program is distributed in the hope that it will be useful, | |
| // but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
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
| Log uploaded on Thursday, July 17, 2025, 9:13:40 PM | |
| Loaded mods: | |
| Harmony(brrainz.harmony)[mv:2.3.4.0]: 0Harmony(2.3.6), HarmonyMod(2.3.4) | |
| Core(Ludeon.RimWorld): (no assemblies) | |
| Royalty(Ludeon.RimWorld.Royalty): (no assemblies) | |
| Ideology(Ludeon.RimWorld.Ideology): (no assemblies) | |
| Biotech(Ludeon.RimWorld.Biotech): (no assemblies) | |
| Feeding Work Type(GoGaTio.FWT): (no assemblies) | |
| Odyssey(Ludeon.RimWorld.Odyssey): (no assemblies) | |
| HugsLib(UnlimitedHugs.HugsLib)[ov:12.0.0]: 0Harmony(av:2.3.6,fv:1.2.0.1), HugsLib(av:1.0.0,fv:12.0.0) |
NewerOlder