Merge remote-tracking branch 'origin/main' into issue334/implement_instantiate_permission

This commit is contained in:
jinseong.cho 2023-06-19 12:53:20 +09:00
commit 1686be2397
348 changed files with 9307 additions and 3949 deletions

View File

@ -28,7 +28,7 @@ workflows:
- build
matrix:
parameters:
simapp: ["simapp44", "simapp46"]
simapp: ["simapp44", "simapp46", "simapp47"]
- test-node:
requires:
- build
@ -159,6 +159,7 @@ jobs:
command: |
[ "<< parameters.simapp >>" = "simapp44" ] && export SIMAPP44_ENABLED=1 SLOW_SIMAPP44_ENABLED=1
[ "<< parameters.simapp >>" = "simapp46" ] && export SIMAPP46_ENABLED=1 SLOW_SIMAPP46_ENABLED=1
[ "<< parameters.simapp >>" = "simapp47" ] && export SIMAPP47_ENABLED=1 SLOW_SIMAPP47_ENABLED=1
yarn test --stream
- run:
name: Run CLI selftest
@ -178,6 +179,7 @@ jobs:
command: |
[ "<< parameters.simapp >>" = "simapp44" ] && export SIMAPP44_ENABLED=1 SLOW_SIMAPP44_ENABLED=1
[ "<< parameters.simapp >>" = "simapp46" ] && export SIMAPP46_ENABLED=1 SLOW_SIMAPP46_ENABLED=1
[ "<< parameters.simapp >>" = "simapp47" ] && export SIMAPP47_ENABLED=1 SLOW_SIMAPP47_ENABLED=1
./run_examples.sh
- run:
name: Stop chains

View File

@ -1,4 +1,12 @@
// The master version of this file is in the repo root. Eslint seems to have
// problems using symbolic links for the config file, so we copy it to the packages.
// To update:
// 1. Go to the repo root
// 2. Make edits in .eslintrc.js
// 3. Run `find ./packages -name ".eslintrc.js" -exec cp .eslintrc.js {} \;`
module.exports = {
root: true,
env: {
es6: true,
jasmine: true,
@ -61,6 +69,12 @@ module.exports = {
format: ["strictCamelCase"],
leadingUnderscore: "allow",
},
{
// For object literal keys we want to allow things like numbers (e.g. 35),
// type URLs (e.g. "/cosmos.feegrant.v1beta1.MsgGrantAllowance") or test data (e.g. "0.14ucoin2")
selector: "objectLiteralProperty",
format: null,
},
],
"@typescript-eslint/no-dynamic-delete": "warn",
"@typescript-eslint/no-empty-function": "off",

2510
.pnp.cjs generated

File diff suppressed because it is too large Load Diff

29
.pnp.loader.mjs generated
View File

@ -9,7 +9,8 @@ const SAFE_TIME = 456789e3;
const PortablePath = {
root: `/`,
dot: `.`
dot: `.`,
parent: `..`
};
const npath = Object.create(path);
const ppath = Object.create(path.posix);
@ -1327,6 +1328,12 @@ class VirtualFS extends ProxiedFS {
}
}
const [major, minor] = process.versions.node.split(`.`).map((value) => parseInt(value, 10));
const HAS_CONSOLIDATED_HOOKS = major > 16 || major === 16 && minor >= 12;
const HAS_UNFLAGGED_JSON_MODULES = major > 17 || major === 17 && minor >= 5 || major === 16 && minor >= 15;
const HAS_JSON_IMPORT_ASSERTION_REQUIREMENT = major > 17 || major === 17 && minor >= 1 || major === 16 && minor > 14;
const WATCH_MODE_MESSAGE_USES_ARRAYS = major > 19 || major === 19 && minor >= 2 || major === 18 && minor >= 13;
const builtinModules = new Set(Module.builtinModules || Object.keys(process.binding(`natives`)));
const isBuiltinModule = (request) => request.startsWith(`node:`) || builtinModules.has(request);
function readPackageScope(checkPath) {
@ -1354,11 +1361,6 @@ function readPackage(requestPath) {
return JSON.parse(fs.readFileSync(jsonPath, `utf8`));
}
const [major, minor] = process.versions.node.split(`.`).map((value) => parseInt(value, 10));
const HAS_CONSOLIDATED_HOOKS = major > 16 || major === 16 && minor >= 12;
const HAS_UNFLAGGED_JSON_MODULES = major > 17 || major === 17 && minor >= 5 || major === 16 && minor >= 15;
const HAS_JSON_IMPORT_ASSERTION_REQUIREMENT = major > 17 || major === 17 && minor >= 1 || major === 16 && minor > 14;
async function tryReadFile$1(path2) {
try {
return await fs.promises.readFile(path2, `utf8`);
@ -1457,12 +1459,13 @@ async function load$1(urlString, context, nextLoad) {
throw err;
}
if (process.env.WATCH_REPORT_DEPENDENCIES && process.send) {
const pathToSend = pathToFileURL(
npath.fromPortablePath(
VirtualFS.resolveVirtual(npath.toPortablePath(filePath))
)
).href;
process.send({
"watch:import": pathToFileURL(
npath.fromPortablePath(
VirtualFS.resolveVirtual(npath.toPortablePath(filePath))
)
).href
"watch:import": WATCH_MODE_MESSAGE_USES_ARRAYS ? [pathToSend] : pathToSend
});
}
return {
@ -1943,7 +1946,7 @@ async function resolvePrivateRequest(specifier, issuer, context, nextResolve) {
conditions: new Set(context.conditions),
readFileSyncFn: tryReadFile
});
if (resolved instanceof URL) {
if (resolved instanceof URL$1) {
return { url: resolved.href, shortCircuit: true };
} else {
if (resolved.startsWith(`#`))
@ -1974,7 +1977,7 @@ async function resolve$1(originalSpecifier, context, nextResolve) {
let allowLegacyResolve = false;
if (dependencyNameMatch) {
const [, dependencyName, subPath] = dependencyNameMatch;
if (subPath === ``) {
if (subPath === `` && dependencyName !== `pnpapi`) {
const resolved = pnpapi.resolveToUnqualified(`${dependencyName}/package.json`, issuer);
if (resolved) {
const content = await tryReadFile$1(resolved);

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/@types-node-npm-18.15.11-fd8ceaaffd-977b4ad047.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/@types-semver-npm-7.3.13-56212b60da-00c0724d54.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/@typescript-eslint-types-npm-5.54.0-d7ab03d795-0f66b1b930.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/@typescript-eslint-utils-npm-5.54.0-2cc2b73c1a-b8f344fc29.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/ansi-sequence-parser-npm-1.1.0-166d719777-75f4d3a4c5.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/cosmjs-types-npm-0.8.0-4c175fd383-99714ec956.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/debug-npm-4.3.4-4513954577-3dbad3f94e.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/glob-npm-8.0.3-750f909025-50bcdea19d.zip (Stored with Git LFS) vendored

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/grapheme-splitter-npm-1.0.4-648f2bf509-0c22ec54de.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/jsonc-parser-npm-3.2.0-1896ece3b7-946dd9a5f3.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/libsodium-sumo-npm-0.7.11-aaac6bcc6c-9efac902a0.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/libsodium-wrappers-sumo-npm-0.7.11-08fe1b2cf4-26c7aaf8c4.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/marked-npm-4.0.17-d85fa63152-33a3c43a20.zip (Stored with Git LFS) vendored

Binary file not shown.

BIN
.yarn/cache/marked-npm-4.3.0-e7ef9e874f-0db6817893.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/minimatch-npm-7.4.4-f84bbddfc6-a96494db55.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/natural-compare-lite-npm-1.4.0-12b6b308ed-5222ac3986.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

BIN
.yarn/cache/p-limit-npm-3.1.0-05d2ede37f-7c3690c4db.zip (Stored with Git LFS) vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/semver-npm-7.3.5-618cf5db6a-5eafe6102b.zip (Stored with Git LFS) vendored

Binary file not shown.

BIN
.yarn/cache/semver-npm-7.3.8-25a996cb4f-ba9c7cbbf2.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Binary file not shown.

BIN
.yarn/cache/shiki-npm-0.10.1-2c9519a6d0-fb746f3cb3.zip (Stored with Git LFS) vendored

Binary file not shown.

BIN
.yarn/cache/shiki-npm-0.14.1-f41a21e5be-b19ea337cc.zip (Stored with Git LFS) vendored Normal file

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More