This file contains 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
#!/usr/bin/env bash | |
# Source: https://gist.github.com/penandlim/04ccf10c985dabd6268aaa588600751c | |
# Forked from: https://gist.github.com/jordan-brough/48e2803c0ffa6dc2e0bd | |
# See also: https://stackoverflow.com/a/25095062/58876 | |
# Download this script as "git-recent" (no extension), chmod it to be executable and put it in your | |
# path somewhere (e.g. /usr/bin). You can then use it via `git recent` from inside any git repo. | |
# Examples: |
This file contains 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
name: "Base Setup" | |
description: "Set up the base environment" | |
runs: | |
using: "composite" | |
steps: | |
- name: Generate combined hash of direct submodule versions | |
run: | | |
modules=$(git config --file .gitmodules --get-regexp path | awk '{ print $2 }') | |
for module in $modules |
This file contains 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
pt-wbfxa9q0py, | |
pt-qvlmfvw5hb, | |
pt-ucywbkcqxl, | |
pt-kidok4jhpc, | |
pt-atwayoe9rc, | |
pt-lgnr1jipei, | |
pt-ml9ke6tcqn, | |
pt-yv3sgpmaky, | |
pt-kr9tomyzam, | |
pt-l9xnq6fw77, |
This file contains 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
diff --git a/node_modules/hardhat/builtin-tasks/node.js b/node_modules/hardhat/builtin-tasks/node.js | |
index e7f1a3e..9955841 100644 | |
--- a/node_modules/hardhat/builtin-tasks/node.js | |
+++ b/node_modules/hardhat/builtin-tasks/node.js | |
@@ -54,7 +54,8 @@ Private Key: ${privateKey}`; | |
(0, config_env_1.subtask)(task_names_1.TASK_NODE_GET_PROVIDER) | |
.addOptionalParam("forkUrl", undefined, undefined, config_env_1.types.string) | |
.addOptionalParam("forkBlockNumber", undefined, undefined, config_env_1.types.int) | |
- .setAction(async ({ forkBlockNumber: forkBlockNumberParam, forkUrl: forkUrlParam, }, { artifacts, config, network, userConfig }) => { | |
+ .addOptionalParam("forkIgnoreUnknownTxType", undefined, undefined, config_env_1.types.boolean) |
This file contains 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
diff --git a/node_modules/hardhat/builtin-tasks/node.js b/node_modules/hardhat/builtin-tasks/node.js | |
index e7f1a3e..9955841 100644 | |
--- a/node_modules/hardhat/builtin-tasks/node.js | |
+++ b/node_modules/hardhat/builtin-tasks/node.js | |
@@ -54,7 +54,8 @@ Private Key: ${privateKey}`; | |
(0, config_env_1.subtask)(task_names_1.TASK_NODE_GET_PROVIDER) | |
.addOptionalParam("forkUrl", undefined, undefined, config_env_1.types.string) | |
.addOptionalParam("forkBlockNumber", undefined, undefined, config_env_1.types.int) | |
- .setAction(async ({ forkBlockNumber: forkBlockNumberParam, forkUrl: forkUrlParam, }, { artifacts, config, network, userConfig }) => { | |
+ .addOptionalParam("forkIgnoreUnknownTxType", undefined, undefined, config_env_1.types.boolean) |
This file contains 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 | |
// File: @openzeppelin/contracts/GSN/Context.sol | |
pragma solidity ^0.5.17; | |
/* | |
* @dev Provides information about the current execution context, including the | |
* sender of the transaction and its data. While these are generally available | |
* via msg.sender and msg.data, they should not be accessed in such a direct |
This file contains 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.5.17; | |
interface VaultLike { | |
function available() external view returns (uint); | |
function earn() external; | |
} | |
contract Context { | |
constructor () internal { } |
This file contains 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
### Keybase proof | |
I hereby claim: | |
* I am penandlim on github. | |
* I am weeb_mcgee (https://keybase.io/weeb_mcgee) on keybase. | |
* I have a public key ASCegcTfQbJtAfS8PoBM5xDBNnvxjEYiFgP6WWYioSJhago | |
To claim this, I am signing this object: |
This file contains 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.22 <0.7.0; | |
/** | |
* @title Storage | |
* @dev Store & retreive value in a variable | |
*/ | |
contract Storage { | |
uint256 number; |