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: MIT | |
| pragma solidity 0.6.6; | |
| import "@polygon/pos-portal/root/TokenPredicates/ITokenPredicate.sol"; | |
| interface IERC20MintBurn { | |
| function mint(address user, uint256 amount) external; | |
| function burn(uint256 amount) external; | |
| function burnFrom(address user, uint256 amount) external; |
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
| 2022-05-11 00:06:34.192+00:00 | ValidatorTimingChannel-0 | ERROR | teku-validator-log | [31mValidator *** Failed to produce aggregate Slot: 2646850 Validator: 900c776, 9990341, 81d134b, 8ea2fbd[0m | |
| java.lang.IllegalArgumentException: Cannot create attestation for future slot. Requested 2646850 but current slot is 2646849 | |
| at tech.pegasys.teku.validator.coordinator.ValidatorApiHandler.createAttestationData(ValidatorApiHandler.java:328) ~[teku-beacon-validator-22.5.0.jar:22.5.0] | |
| at jdk.internal.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) ~[?:?] | |
| at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?] | |
| at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?] | |
| at tech.pegasys.teku.infrastructure.events.DirectEventDeliverer.executeMethod(DirectEventDeliverer.java:74) ~[teku-infrastructure-events-22.5.0.jar:22.5.0] | |
| at tech.pegasys.teku.infrastructure.events.DirectEventDeliverer.deliverToWithResponse(DirectEventDeliverer.java:67) ~[teku-infrastructure-events-22.5.0.jar:22.5.0 |
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
| 2022-05-11 08:15:48.057+00:00 | beaconchain-async-0 | ERROR | AttestationManager | Failed to process received attestation. | |
| java.util.concurrent.CompletionException: java.util.concurrent.RejectedExecutionException: Task tech.pegasys.teku.infrastructure.async.ScheduledExecutorAsyncRunner$$Lambda$436/0x0000000100494cc0@5872daf rejected from java.util.concurrent.ThreadPoolExecutor@6b1c8c1c[Running, pool size = 1, active threads = 1, queued tasks = 5000, completed tasks = 254194] | |
| at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) ~[?:?] | |
| at java.util.concurrent.CompletableFuture.uniApplyNow(Unknown Source) ~[?:?] | |
| at java.util.concurrent.CompletableFuture.uniApplyStage(Unknown Source) ~[?:?] | |
| at java.util.concurrent.CompletableFuture.thenApply(Unknown Source) ~[?:?] | |
| at tech.pegasys.teku.infrastructure.async.SafeFuture.thenApply(SafeFuture.java:408) ~[teku-infrastructure-async-22.5.0.jar:22.5.0] | |
| at tech.pegasys.teku.statetransition.forkchoice.ForkChoice.lambda$onAttestation$18(ForkChoice.java:51 |
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
| pragma solidity 0.7.5; | |
| interface IHomeBridge { | |
| function numMessagesSigned(bytes32 _message) external view returns (uint256); | |
| function isAlreadyProcessed(uint256 _number) external pure returns (bool); | |
| function signature(bytes32 _hash, uint256 _index) external view returns (bytes memory); | |
| } | |
| contract Helper { | |
| function unpackSignature(bytes memory _signature) internal pure returns (bytes32, bytes32, uint8) |
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 os | |
| from multiprocessing import Process, Pipe | |
| def event(pid, counter): | |
| t = counter.get(pid, 0) | |
| counter[pid] = t + 1 | |
| print(f'Event at {pid}') | |
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
| pragma solidity 0.4.24; | |
| contract Test { | |
| uint256 public x; | |
| function dummy() external { | |
| for (uint256 i = 0; i < 1000; i++) { | |
| x = i; | |
| } | |
| } | |
| } |
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
| // File: @ensdomains/ens/contracts/ENS.sol | |
| pragma solidity >=0.4.24; | |
| interface ENS { | |
| // Logged when the owner of a node assigns a new owner to a subnode. | |
| event NewOwner(bytes32 indexed node, bytes32 indexed label, address 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
| docker run -d --rm --name quorum -e PRIVATE_CONFIG=ignore --entrypoint sh quorumengineering/quorum:latest -c ' | |
| mkdir -p /qdata/dd | |
| echo "{\"alloc\":{\"0xCf14671Dc41964196BA094fBa8FaCBE533CB169A\":{\"balance\":\"1000000000000000000000000000\"}},\"coinbase\":\"0x0000000000000000000000000000000000000000\",\"config\":{\"homesteadBlock\":0,\"byzantiumBlock\":0,\"constantinopleBlock\":0,\"petersburgBlock\":0,\"istanbulBlock\":0,\"chainId\":123,\"eip150Block\":0,\"eip150Hash\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"eip155Block\":0,\"eip158Block\":0,\"maxCodeSizeConfig\":[{\"block\":0,\"size\":35}],\"isQuorum\":true},\"difficulty\":\"0x0\",\"extraData\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"gasLimit\":\"0xE0000000\",\"mixhash\":\"0x00000000000000000000000000000000000000647572616c65787365646c6578\",\"nonce\":\"0x0\",\"parentHash\":\"0x0000000000000000000000000000000000000000000000000000000000000000\",\"timestamp\":\"0x00\"}" > /qdata/dd/genesis.json |
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
| INFO [06-02|08:58:57.566] Maximum peer count ETH=50 LES=0 total=50 | |
| INFO [06-02|08:58:57.566] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory" | |
| ERROR[06-02|08:58:57.567] Failed to enumerate USB devices hub=ledger vendor=11415 failcount=1 err="failed to initialize libusb: libusb: unknown error [code -99]" | |
| ERROR[06-02|08:58:57.568] Failed to enumerate USB devices hub=trezor vendor=21324 failcount=1 err="failed to initialize libusb: libusb: unknown error [code -99]" | |
| ERROR[06-02|08:58:57.568] Failed to enumerate USB devices hub=trezor vendor=4617 failcount=1 err="failed to initialize libusb: libusb: unknown error [code -99]" | |
| ERROR[06-02|08:58:57.568] Failed to enumerate USB devices hub=ledger vendor=11415 failcount=2 err="failed to initialize libusb: libusb: unknown error [code -99]" | |
| ERROR[06-02|08:58:57.568] Failed to enumerate USB devices hub=trezor vendor=21324 failcount=2 err="failed to initia |
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
| pragma solidity 0.4.24; | |
| contract PotLike { | |
| function pie(address a) public view returns (uint256); | |
| function Pie() public view returns (uint256); | |
| function dsr() public view returns (uint256); | |
| function chi() public view returns (uint256); | |
| function rho() public view returns (uint256); | |
| function drip() external returns (uint tmp); |