diff --git a/.buildkite/benchmarks.pipeline.yml b/.buildkite/benchmarks.pipeline.yml index b41badd890f..9ead9bab841 100644 --- a/.buildkite/benchmarks.pipeline.yml +++ b/.buildkite/benchmarks.pipeline.yml @@ -85,8 +85,6 @@ steps: - buildkite-agent artifact upload simple-keyvalue-client - buildkite-agent artifact upload simple-keyvalue-enc-client - buildkite-agent artifact upload simple-keyvalue-ops-client - agents: - buildkite_agent_size: large plugins: <<: *docker_plugin @@ -108,8 +106,6 @@ steps: - buildkite-agent artifact upload simple-keymanager - buildkite-agent artifact upload simple-keyvalue - buildkite-agent artifact upload simple-keymanager-upgrade - agents: - buildkite_agent_size: large plugins: <<: *docker_plugin @@ -130,7 +126,6 @@ steps: env: TEST_BASE_DIR: /var/tmp/benchmarks agents: - buildkite_agent_size: large buildkite_agent_class: stable plugins: <<: *docker_plugin diff --git a/.buildkite/code.pipeline.yml b/.buildkite/code.pipeline.yml index c49e21706b0..102b9e0a10c 100644 --- a/.buildkite/code.pipeline.yml +++ b/.buildkite/code.pipeline.yml @@ -78,8 +78,6 @@ steps: - label: Lint Go node command: - .buildkite/go/lint.sh - agents: - buildkite_agent_size: large retry: <<: *retry_agent_failure plugins: @@ -145,8 +143,6 @@ steps: - buildkite-agent artifact upload simple-keyvalue-client - buildkite-agent artifact upload simple-keyvalue-enc-client - buildkite-agent artifact upload simple-keyvalue-ops-client - agents: - buildkite_agent_size: large retry: <<: *retry_agent_failure plugins: @@ -170,8 +166,6 @@ steps: - buildkite-agent artifact upload simple-keymanager - buildkite-agent artifact upload simple-keyvalue - buildkite-agent artifact upload simple-keymanager-upgrade - agents: - buildkite_agent_size: large retry: <<: *retry_agent_failure plugins: @@ -186,8 +180,6 @@ steps: - make build-helpers - export OASIS_STORAGE_PROTOCOL_SERVER_BINARY=$(realpath go/storage/mkvs/interop/mkvs-test-helpers) - .buildkite/rust/test_generic.sh . - agents: - buildkite_agent_size: large retry: <<: *retry_agent_failure plugins: @@ -242,8 +234,6 @@ steps: env: OASIS_E2E_COVERAGE: enable TEST_BASE_DIR: /tmp - agents: - buildkite_agent_size: large retry: <<: *retry_agent_failure plugins: @@ -308,8 +298,6 @@ steps: - /tmp/consim-datadir/consim.log env: TEST_BASE_DIR: /tmp - agents: - buildkite_agent_size: large retry: <<: *retry_agent_failure plugins: @@ -328,8 +316,6 @@ steps: - .buildkite/rust/coverage.sh # Don't cause the build to fail, as tarpaulin is pretty unstable at the moment. soft_fail: true - agents: - buildkite_agent_size: large retry: <<: *retry_agent_failure plugins: diff --git a/.buildkite/go/test_and_coverage.sh b/.buildkite/go/test_and_coverage.sh index 68ddef6b47c..55722a9fdb9 100755 --- a/.buildkite/go/test_and_coverage.sh +++ b/.buildkite/go/test_and_coverage.sh @@ -28,8 +28,8 @@ pushd go # We need to do multiple test passes for different parts to get correct coverage. env -u GOPATH go test -race -coverprofile=../coverage-misc.txt -covermode=atomic -v \ $(go list ./... | \ - grep -v github.com/oasislabs/oasis-core/go/oasis-node | \ - grep -v github.com/oasislabs/oasis-core/go/storage/mkvs ) + grep -v github.com/oasisprotocol/oasis-core/go/oasis-node | \ + grep -v github.com/oasisprotocol/oasis-core/go/storage/mkvs ) # Oasis node tests. pushd oasis-node env -u GOPATH go test -race -coverpkg ../... -coverprofile=../../coverage-oasis-node.txt -covermode=atomic -v ./... diff --git a/.buildkite/longtests.pipeline.yml b/.buildkite/longtests.pipeline.yml index b9bbbf1f69b..099831d7ead 100644 --- a/.buildkite/longtests.pipeline.yml +++ b/.buildkite/longtests.pipeline.yml @@ -72,8 +72,6 @@ steps: - buildkite-agent artifact upload simple-keyvalue-client - buildkite-agent artifact upload simple-keyvalue-enc-client - buildkite-agent artifact upload simple-keyvalue-ops-client - agents: - buildkite_agent_size: large plugins: <<: *docker_plugin @@ -92,8 +90,6 @@ steps: - buildkite-agent artifact upload simple-keymanager - buildkite-agent artifact upload simple-keyvalue - buildkite-agent artifact upload simple-keymanager-upgrade - agents: - buildkite_agent_size: large plugins: <<: *docker_plugin @@ -109,7 +105,6 @@ steps: env: TEST_BASE_DIR: /var/tmp/longtests agents: - buildkite_agent_size: large buildkite_agent_class: stable # NOTE: we actually don't want to retry, but this is the only way that we # can execute the notify step only if tests failed. diff --git a/.buildkite/scripts/daily_benchmark_analysis.sh b/.buildkite/scripts/daily_benchmark_analysis.sh index 80e4ff7ea87..cdd0b41edfc 100755 --- a/.buildkite/scripts/daily_benchmark_analysis.sh +++ b/.buildkite/scripts/daily_benchmark_analysis.sh @@ -7,7 +7,7 @@ # # Script should be invoked from .buildkite/benchmarks.pipeline.yml. Required # env variables: -# BUILDKITE_BUILD_URL - URL for seeing detailed testing and comparison log (e.g. https://buildkite.com/oasislabs/oasis-core-daily-benchmarks/builds/xx) +# BUILDKITE_BUILD_URL - URL for seeing detailed testing and comparison log (e.g. https://buildkite.com/oasisprotocol/oasis-core-daily-benchmarks/builds/xx) # METRICS_QUERY_ADDR - address of Prometheus server (e.g. http://localhost:9090) # METRICS_SOURCE_GIT_BRANCH - name of feature branch on git (e.g. jsmith/feature/abc) # METRICS_TARGET_GIT_BRANCH - name of master branch on git (e.g. master) diff --git a/.changelog/2968.internal.md b/.changelog/2968.internal.md new file mode 100644 index 00000000000..0ab3c3bf34e --- /dev/null +++ b/.changelog/2968.internal.md @@ -0,0 +1 @@ +Transfer oasis-core repository to oasisprotocol diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md index aaaa8adb0e7..0bfb86cb674 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.md +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -3,7 +3,7 @@ name: ✨ Feature request about: Suggest an idea for this project --- - + ##### SUMMARY diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fdba573bc7..23fe92b2683 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,10 +17,10 @@ The format is inspired by [Keep a Changelog]. ### Removals and Breaking changes - go/consensus/tendermint: Use MKVS for storing application state - ([#1898](https://github.com/oasislabs/oasis-core/issues/1898)) + ([#1898](https://github.com/oasisprotocol/oasis-core/issues/1898)) - `oasis-node`: Refactor `metrics` parameters - ([#2687](https://github.com/oasislabs/oasis-core/issues/2687)) + ([#2687](https://github.com/oasisprotocol/oasis-core/issues/2687)) - `--metrics.push.job_name` renamed to `--metrics.job_name`. - `--metrics.push.interval` renamed to `--metrics.interval`. @@ -32,15 +32,15 @@ The format is inspired by [Keep a Changelog]. `--metrics.labels instance=abc,cpu=intel_i7-8750`. - go/consensus/tendermint: Store consensus parameters in ABCI state - ([#2710](https://github.com/oasislabs/oasis-core/issues/2710)) + ([#2710](https://github.com/oasisprotocol/oasis-core/issues/2710)) - go: Bump tendermint to v0.33.3-oasis1 - ([#2834](https://github.com/oasislabs/oasis-core/issues/2834)) + ([#2834](https://github.com/oasisprotocol/oasis-core/issues/2834)) This is breaking as the tendermint block format has changed. - go/consensus/genesis: Make max evidence age block and time based - ([#2834](https://github.com/oasislabs/oasis-core/issues/2834)) + ([#2834](https://github.com/oasisprotocol/oasis-core/issues/2834)) - Rename `max_evidence_age` -> `max_evidence_age_blocks` - Add `max_evidence_age_time` (default 48h) @@ -48,7 +48,7 @@ The format is inspired by [Keep a Changelog]. This is obviously breaking. - keymanager-lib: Bind persisted state to the runtime ID - ([#2843](https://github.com/oasislabs/oasis-core/issues/2843)) + ([#2843](https://github.com/oasisprotocol/oasis-core/issues/2843)) It is likely prudent to bind the persisted master secret to the runtime ID. This change does so by including the key manager runtime ID as the @@ -58,7 +58,7 @@ The format is inspired by [Keep a Changelog]. the existing persisted master secret will not decrypt. - go/runtime/enclaverpc: Refactor gRPC endpoint routing - ([#2844](https://github.com/oasislabs/oasis-core/issues/2844)) + ([#2844](https://github.com/oasisprotocol/oasis-core/issues/2844)) Previously each endpoint required its own gRPC service. But since all EnclaveRPC requests already include an "endpoint" field, it is better to use @@ -70,25 +70,25 @@ The format is inspired by [Keep a Changelog]. new API. - `oasis-net-runner`: `--net.*` flags renamed to `--fixture.default.*` - ([#2848](https://github.com/oasislabs/oasis-core/issues/2848)) + ([#2848](https://github.com/oasisprotocol/oasis-core/issues/2848)) For example `--net.node.binary mynode/oasis-node` becomes `--fixture.default.node.binary mynode/oasis-node`. - go/consensus: Stake weighted voting - ([#2868](https://github.com/oasislabs/oasis-core/issues/2868)) + ([#2868](https://github.com/oasisprotocol/oasis-core/issues/2868)) That is, validator voting power proportional to entity stake (previously: "flat" all-validators-equal voting power). Radical! - go/common/node: Add RoleConsensusRPC role bit - ([#2881](https://github.com/oasislabs/oasis-core/issues/2881)) + ([#2881](https://github.com/oasisprotocol/oasis-core/issues/2881)) ### Features - go/worker/consensusrpc: Add public consensus RPC services worker - ([#2440](https://github.com/oasislabs/oasis-core/issues/2440)) + ([#2440](https://github.com/oasisprotocol/oasis-core/issues/2440)) A public consensus services worker enables any full consensus node to expose light client services to other nodes that may need them (e.g., they are needed @@ -99,10 +99,10 @@ The format is inspired by [Keep a Changelog]. the light consensus client interface over publicly accessible gRPC. - go/consensus: Add basic API for supporting light consensus clients - ([#2440](https://github.com/oasislabs/oasis-core/issues/2440)) + ([#2440](https://github.com/oasisprotocol/oasis-core/issues/2440)) - `oasis-node`: Add benchmarking utilities - ([#2687](https://github.com/oasislabs/oasis-core/issues/2687)) + ([#2687](https://github.com/oasisprotocol/oasis-core/issues/2687)) - New Prometheus metrics for: - datadir space usage, @@ -115,7 +115,7 @@ The format is inspired by [Keep a Changelog]. - Bumps `spf13/viper` which fixes `IsSet()` behavior. - Add `GetEvents` to backends - ([#2778](https://github.com/oasislabs/oasis-core/issues/2778)) + ([#2778](https://github.com/oasisprotocol/oasis-core/issues/2778)) The new `GetEvents` call returns all events at a specific height, without having to watch for them using the `Watch*` methods. @@ -123,22 +123,22 @@ The format is inspired by [Keep a Changelog]. backends. - go/keymanager/api: Add a gRPC endpoint for status queries - ([#2843](https://github.com/oasislabs/oasis-core/issues/2843)) + ([#2843](https://github.com/oasisprotocol/oasis-core/issues/2843)) Mostly so that the test cases can query statuses. - go/oasis-test-runner/oasis: Add a keymanager replication test - ([#2843](https://github.com/oasislabs/oasis-core/issues/2843)) + ([#2843](https://github.com/oasisprotocol/oasis-core/issues/2843)) - `oasis-net-runner`: Add support for fixtures in JSON file - ([#2848](https://github.com/oasislabs/oasis-core/issues/2848)) + ([#2848](https://github.com/oasisprotocol/oasis-core/issues/2848)) New flag `--fixture.file` allows user to load default fixture from JSON file. In addition `dump-fixture` command dumps configured JSON-encoded fixture to standard output which can serve as a template. - go/consensus/tendermint: Expose new config options added in Tendermint 0.33 - ([#2855](https://github.com/oasislabs/oasis-core/issues/2855)) + ([#2855](https://github.com/oasisprotocol/oasis-core/issues/2855)) Tendermint 0.33 added the concept of unconditional P2P peers. Support for setting the unconditional peers via `tendermint.p2p.unconditional_peer_ids` @@ -150,16 +150,16 @@ The format is inspired by [Keep a Changelog]. `tendermint.p2p.persistent_peers_max_dial_period` flag. - go/consensus/tendermint: Signal RetainHeight on Commit - ([#2863](https://github.com/oasislabs/oasis-core/issues/2863)) + ([#2863](https://github.com/oasisprotocol/oasis-core/issues/2863)) This allows Tendermint Core to discard data for any heights that were pruned from application state. - go/consensus/tendermint: Bump Tendermint Core to 0.33.4 - ([#2863](https://github.com/oasislabs/oasis-core/issues/2863)) + ([#2863](https://github.com/oasisprotocol/oasis-core/issues/2863)) - go/consensus/tendermint: sync-worker additionally check block timestamps - ([#2873](https://github.com/oasislabs/oasis-core/issues/2873)) + ([#2873](https://github.com/oasisprotocol/oasis-core/issues/2873)) Sync-worker relied on Tendermint fast-sync to determine if the node is still catching up. This PR adds aditional condition that the latest block is not @@ -167,13 +167,13 @@ The format is inspired by [Keep a Changelog]. after stopping fast-sync, but before it has actually caught up. - go/consensus: Add GetGenesisDocument - ([#2889](https://github.com/oasislabs/oasis-core/issues/2889)) + ([#2889](https://github.com/oasisprotocol/oasis-core/issues/2889)) The consensus client now has a new method to return the original genesis document. - go/staking: Add event hashes - ([#2889](https://github.com/oasislabs/oasis-core/issues/2889)) + ([#2889](https://github.com/oasisprotocol/oasis-core/issues/2889)) Staking events now have a new `TxHash` field, which contains the hash of the transaction that caused the event (or the empty @@ -182,7 +182,7 @@ The format is inspired by [Keep a Changelog]. ### Bug Fixes - go: Extract and generalize registry's staking sanity checks - ([#2748](https://github.com/oasislabs/oasis-core/issues/2748)) + ([#2748](https://github.com/oasisprotocol/oasis-core/issues/2748)) Augment the checks to check if an entity has enough stake for all stake claims in the Genesis document to prevent panics at oasis-node start-up due to @@ -190,31 +190,31 @@ The format is inspired by [Keep a Changelog]. claims. - go/oasis-node/cmd/ias: Fix WatchRuntimes retry - ([#2832](https://github.com/oasislabs/oasis-core/issues/2832)) + ([#2832](https://github.com/oasisprotocol/oasis-core/issues/2832)) Previously the IAS proxy could incorrectly panic during shutdown when the context was cancelled. - go/worker/keymanager: Add an enclave rpc handler - ([#2843](https://github.com/oasislabs/oasis-core/issues/2843)) + ([#2843](https://github.com/oasisprotocol/oasis-core/issues/2843)) - go/worker/keymanager: Actually allow replication to maybe work - ([#2843](https://github.com/oasislabs/oasis-core/issues/2843)) + ([#2843](https://github.com/oasisprotocol/oasis-core/issues/2843)) Access control forbidding replication may be more secure, but is not all that useful. - go/keymanager/client: Support km->km connections - ([#2843](https://github.com/oasislabs/oasis-core/issues/2843)) + ([#2843](https://github.com/oasisprotocol/oasis-core/issues/2843)) - go/common/crypto/mrae/deoxysii: Use SHA512/256 for the KDF - ([#2853](https://github.com/oasislabs/oasis-core/issues/2853)) + ([#2853](https://github.com/oasisprotocol/oasis-core/issues/2853)) Following 73aacaa73d7116a6be0443e70f2d10d0c7a4b76e, this should also use the correct hash algorithm for the KDF. - go/extra/stats: fix & simplify node-entity mapping - ([#2856](https://github.com/oasislabs/oasis-core/issues/2856)) + ([#2856](https://github.com/oasisprotocol/oasis-core/issues/2856)) Instead of separately querying for entities and nodes, we can get Entity IDs from nodes directly. @@ -223,13 +223,13 @@ The format is inspired by [Keep a Changelog]. removed from entity list of nodes, but has not yet expired. - go/extra/stats: fix heights at which missing nodes should be queried - ([#2858](https://github.com/oasislabs/oasis-core/issues/2858)) + ([#2858](https://github.com/oasisprotocol/oasis-core/issues/2858)) If a missing signature is encountered, the registry should be queried at previous height, since that is the height at which the vote was made. - client/rpc: Change session identifier on reset - ([#2872](https://github.com/oasislabs/oasis-core/issues/2872)) + ([#2872](https://github.com/oasisprotocol/oasis-core/issues/2872)) Previously the EnclaveRPC client did not change the session identifier on reset, resulting in unnecessary round-trips during a transport error. The @@ -237,7 +237,7 @@ The format is inspired by [Keep a Changelog]. session. - go/worker/storage: Correctly apply genesis storage state - ([#2874](https://github.com/oasislabs/oasis-core/issues/2874)) + ([#2874](https://github.com/oasisprotocol/oasis-core/issues/2874)) Previously genesis storage state was only applied at consensus genesis which did not support dynamically registered runtimes. Now genesis state is @@ -248,17 +248,17 @@ The format is inspired by [Keep a Changelog]. consensus backend API. - worker/registration: use WatchLatestEpoch when watching for registrations - ([#2876](https://github.com/oasislabs/oasis-core/issues/2876)) + ([#2876](https://github.com/oasisprotocol/oasis-core/issues/2876)) By using WatchLatestEpoch the worker will always try to register for latest known epoch, which should prevent cases where registration worker fell behind and was trying to register for past epochs. - go/runtime/client: Actually store the created key manager client - ([#2885](https://github.com/oasislabs/oasis-core/issues/2885)) + ([#2885](https://github.com/oasisprotocol/oasis-core/issues/2885)) - go/runtime/committee: Restore previously picked node in RR selection - ([#2885](https://github.com/oasislabs/oasis-core/issues/2885)) + ([#2885](https://github.com/oasisprotocol/oasis-core/issues/2885)) Previously the round-robin node selection policy would randomize the order on every update ignoring the currently picked node. This would cause the current @@ -270,7 +270,7 @@ The format is inspired by [Keep a Changelog]. still in the node list, it will not change. - go/scheduler: Increase tokens per voting power - ([#2892](https://github.com/oasislabs/oasis-core/issues/2892)) + ([#2892](https://github.com/oasisprotocol/oasis-core/issues/2892)) We'll need this to fit under tendermint's maximum total voting power limit. @@ -278,12 +278,12 @@ The format is inspired by [Keep a Changelog]. ### Documentation improvements - Refactor documentation, add architecture overview - ([#2791](https://github.com/oasislabs/oasis-core/issues/2791)) + ([#2791](https://github.com/oasisprotocol/oasis-core/issues/2791)) ### Internal changes - `oasis-test-runner`: Add benchmarking utilities - ([#2687](https://github.com/oasislabs/oasis-core/issues/2687)) + ([#2687](https://github.com/oasisprotocol/oasis-core/issues/2687)) - `oasis-test-runner` now accepts `--metrics.address` and `--metrics.interval` parameters which are forwarded to `oasis-node` workers. @@ -325,13 +325,13 @@ The format is inspired by [Keep a Changelog]. `go/oasis-test-runner` folder. - ci: New benchmarks pipeline has been added - ([#2687](https://github.com/oasislabs/oasis-core/issues/2687)) + ([#2687](https://github.com/oasisprotocol/oasis-core/issues/2687)) `benchmarks.pipeline.yml` runs all E2E tests and compares the benchmark results from the previous batch using the new `oasis-test-runner cmp` command. - `oasis-node`: Add custom internal socket path flag (for E2E tests only!) - ([#2687](https://github.com/oasislabs/oasis-core/issues/2687)) + ([#2687](https://github.com/oasisprotocol/oasis-core/issues/2687)) `--debug.grpc.internal.socket_name` flag was added which forces `oasis-node` to use the given path for the internal gRPC socket. This was necessary, @@ -343,12 +343,12 @@ The format is inspired by [Keep a Changelog]. node datadir!** - go/registry/api: Extend `NodeLookup` and `RuntimeLookup` interfaces - ([#2748](https://github.com/oasislabs/oasis-core/issues/2748)) + ([#2748](https://github.com/oasisprotocol/oasis-core/issues/2748)) Define `Nodes()` and `AllRuntimes()` methods. - go/staking/tests: Add escrow and delegations to debug genesis state - ([#2767](https://github.com/oasislabs/oasis-core/issues/2767)) + ([#2767](https://github.com/oasisprotocol/oasis-core/issues/2767)) Introduce `stakingTestsState` that holds the current state of staking tests and enable the staking implementation tests @@ -356,19 +356,19 @@ The format is inspired by [Keep a Changelog]. use this up-to-date state. - go/runtime/committee: Don't close gRPC connections on connection refresh - ([#2826](https://github.com/oasislabs/oasis-core/issues/2826)) + ([#2826](https://github.com/oasisprotocol/oasis-core/issues/2826)) - go: Refactor E2E coverage integration test wrapper - ([#2832](https://github.com/oasislabs/oasis-core/issues/2832)) + ([#2832](https://github.com/oasisprotocol/oasis-core/issues/2832)) This makes it possible to easily have E2E coverage instrumented binaries for things other than oasis-node. - go/oasis-node: Move storage benchmark subcommand under debug - ([#2832](https://github.com/oasislabs/oasis-core/issues/2832)) + ([#2832](https://github.com/oasisprotocol/oasis-core/issues/2832)) - keymanager-runtime: replace with test/simple-keymanager - ([#2837](https://github.com/oasislabs/oasis-core/issues/2837)) + ([#2837](https://github.com/oasisprotocol/oasis-core/issues/2837)) Common keymanager initalization code is extracted into the keymanager-lib crate. This enables for the actual key manager implementation to only @@ -377,55 +377,55 @@ The format is inspired by [Keep a Changelog]. a test `simple-keymanager` runtime that is used in E2E tests. - docker: remove docker image build pipelines and cleanup testing image - ([#2838](https://github.com/oasislabs/oasis-core/issues/2838)) + ([#2838](https://github.com/oasisprotocol/oasis-core/issues/2838)) - go/oasis-test-runner: Generate a new random seed on each run - ([#2849](https://github.com/oasislabs/oasis-core/issues/2849)) + ([#2849](https://github.com/oasisprotocol/oasis-core/issues/2849)) - go/storage/mkvs/checkpoint: Refactor restorer interface - ([#2860](https://github.com/oasislabs/oasis-core/issues/2860)) + ([#2860](https://github.com/oasisprotocol/oasis-core/issues/2860)) - go/storage/mkvs/checkpoint: Add common checkpointer implementation - ([#2860](https://github.com/oasislabs/oasis-core/issues/2860)) + ([#2860](https://github.com/oasisprotocol/oasis-core/issues/2860)) Previously there was a checkpointer implemented in the storage worker but since this may be useful in multiple places, the checkpointer implementation is generalized and moved to the checkpoint package. - go/oasis-test-runner: Configure consensus state pruning - ([#2866](https://github.com/oasislabs/oasis-core/issues/2866)) + ([#2866](https://github.com/oasisprotocol/oasis-core/issues/2866)) - go: Start using new protobuf module location - ([#2867](https://github.com/oasislabs/oasis-core/issues/2867)) + ([#2867](https://github.com/oasisprotocol/oasis-core/issues/2867)) The previous location has been deprecated. - go/common/pubsub: support subscriptions based on bounded ring channels - ([#2876](https://github.com/oasislabs/oasis-core/issues/2876)) + ([#2876](https://github.com/oasisprotocol/oasis-core/issues/2876)) - go/epochtime: add WatchLatestEpoch method - ([#2876](https://github.com/oasislabs/oasis-core/issues/2876)) + ([#2876](https://github.com/oasisprotocol/oasis-core/issues/2876)) The method is similar to the existing WatchEpochs method, with the change that unread epochs get overridden with latest epoch. - go/common/crypto/hash: Add NewFrom and NewFromBytes functions - ([#2890](https://github.com/oasislabs/oasis-core/issues/2890)) + ([#2890](https://github.com/oasisprotocol/oasis-core/issues/2890)) - ci: automatically retry jobs due to host agent failures - ([#2894](https://github.com/oasislabs/oasis-core/issues/2894)) + ([#2894](https://github.com/oasisprotocol/oasis-core/issues/2894)) ## 20.5 (2020-04-10) ### Process - Include oasis-core-runtime-loader and oasis-net-runner in releases - ([#2780](https://github.com/oasislabs/oasis-core/issues/2780)) + ([#2780](https://github.com/oasisprotocol/oasis-core/issues/2780)) ### Removals and Breaking changes - storage: Rename "round" to "version" - ([#2734](https://github.com/oasislabs/oasis-core/issues/2734)) + ([#2734](https://github.com/oasisprotocol/oasis-core/issues/2734)) Previously the MKVS used the term "round" to mean a monotonically increasing version number. This choice was due to the fact that it was initially used to @@ -435,15 +435,15 @@ The format is inspired by [Keep a Changelog]. version. - go staking: Remove locked accounts - ([#2753](https://github.com/oasislabs/oasis-core/issues/2753)) + ([#2753](https://github.com/oasisprotocol/oasis-core/issues/2753)) We expect not to need this feature. - go/consensus: Introduce gas cost based on tx size - ([#2761](https://github.com/oasislabs/oasis-core/issues/2761)) + ([#2761](https://github.com/oasisprotocol/oasis-core/issues/2761)) - storage/mkvs: Only nil value should mean deletion - ([#2775](https://github.com/oasislabs/oasis-core/issues/2775)) + ([#2775](https://github.com/oasisprotocol/oasis-core/issues/2775)) Previously an empty value in the write log signalled that the given entry is a delete operation instead of an insert one. This was incorrect as inserting an @@ -455,7 +455,7 @@ The format is inspired by [Keep a Changelog]. the runtime worker-host protocol. - go/staking: include LastBlockFees in genesis - ([#2777](https://github.com/oasislabs/oasis-core/issues/2777)) + ([#2777](https://github.com/oasisprotocol/oasis-core/issues/2777)) Previosuly last block fees in the block of the genesis dump were lost. In the case when these fees were non-zero this also caused a missmatch in total token @@ -463,7 +463,7 @@ The format is inspired by [Keep a Changelog]. chain moved to the common pool. - go/staking: Three-way fee split - ([#2794](https://github.com/oasislabs/oasis-core/issues/2794)) + ([#2794](https://github.com/oasisprotocol/oasis-core/issues/2794)) We should give more to the previous block proposer, which is the block that first ran the transactions that paid the fees in the @@ -471,7 +471,7 @@ The format is inspired by [Keep a Changelog]. Currently they only get paid as a voter. See - [oasis-core#2794](https://github.com/oasislabs/oasis-core/pull/2794) + [oasis-core#2794](https://github.com/oasisprotocol/oasis-core/pull/2794) for a description of the new fee split. Instructions for genesis document maintainers: @@ -483,7 +483,7 @@ The format is inspired by [Keep a Changelog]. ### Features - node: Add automatic TLS certificate rotation support - ([#2098](https://github.com/oasislabs/oasis-core/issues/2098)) + ([#2098](https://github.com/oasisprotocol/oasis-core/issues/2098)) It is now possible to automatically rotate the node's TLS certificates every N epochs by passing the command-line flag @@ -491,14 +491,14 @@ The format is inspired by [Keep a Changelog]. Do not use this option on sentry nodes or IAS proxies. - go/storage/mkvs: Use Badger to manage versions - ([#2674](https://github.com/oasislabs/oasis-core/issues/2674)) + ([#2674](https://github.com/oasisprotocol/oasis-core/issues/2674)) By restricting how Prune behaves (it can now only remove the earliest round) we can leverage Badger's managed mode to have it manage versions for us. This avoids the need to track node lifetimes separately. - go/common/crypto/signature/signer/composite: Initial import - ([#2684](https://github.com/oasislabs/oasis-core/issues/2684)) + ([#2684](https://github.com/oasisprotocol/oasis-core/issues/2684)) This adds a composite signer factory that can aggregate multiple signer factories. This could be used (for example), to use multiple signer @@ -508,76 +508,76 @@ The format is inspired by [Keep a Changelog]. signer can be backed by a remote HSM. - e2e tests: Test debonding entries from genesis - ([#2747](https://github.com/oasislabs/oasis-core/issues/2747)) + ([#2747](https://github.com/oasisprotocol/oasis-core/issues/2747)) Here's an e2e test scenario that exercises debonding delegation records from the genesis document. - Add support for custom runtime dispatchers - ([#2749](https://github.com/oasislabs/oasis-core/issues/2749)) + ([#2749](https://github.com/oasisprotocol/oasis-core/issues/2749)) This reorganizes the dispatching code to work with a trait rather than a concrete dispatcher object, enabling runtimes to have their own dispatchers. - txsource: delegation workload - ([#2752](https://github.com/oasislabs/oasis-core/issues/2752)) + ([#2752](https://github.com/oasisprotocol/oasis-core/issues/2752)) - txsource: add a runtime workload - ([#2759](https://github.com/oasislabs/oasis-core/issues/2759)) + ([#2759](https://github.com/oasisprotocol/oasis-core/issues/2759)) The added runtime workload submits simiple-keyvalue runtime requests. - go/txsource: add a commission schedule amendments workload - ([#2766](https://github.com/oasislabs/oasis-core/issues/2766)) + ([#2766](https://github.com/oasisprotocol/oasis-core/issues/2766)) The added workload generated commission schedule amendment requests. - go/staking: add LastBlockFees query method - ([#2769](https://github.com/oasislabs/oasis-core/issues/2769)) + ([#2769](https://github.com/oasisprotocol/oasis-core/issues/2769)) LastBlockFees returns the collected fees for previous block. - txsource/queries: workload doing historical queries - ([#2769](https://github.com/oasislabs/oasis-core/issues/2769)) + ([#2769](https://github.com/oasisprotocol/oasis-core/issues/2769)) Queries workload continuously performs various historic queries using the exposed APIs and makes sure the responses make sense. - go/txsource/transfer: inlcude burn transactions in transfer workload - ([#2773](https://github.com/oasislabs/oasis-core/issues/2773)) + ([#2773](https://github.com/oasisprotocol/oasis-core/issues/2773)) - go/oasis-node/cmd/debug/consim: Initial import - ([#2784](https://github.com/oasislabs/oasis-core/issues/2784)) + ([#2784](https://github.com/oasisprotocol/oasis-core/issues/2784)) Add the ability to exercise some backends without tendermint, while attempting to preserve some of the semantics. - go/runtime/client: expose GetGenesisBlock method in runtime client - ([#2796](https://github.com/oasislabs/oasis-core/issues/2796)) + ([#2796](https://github.com/oasisprotocol/oasis-core/issues/2796)) ### Bug Fixes - staking/state: fix DelegationsFor queries - ([#2756](https://github.com/oasislabs/oasis-core/issues/2756)) + ([#2756](https://github.com/oasisprotocol/oasis-core/issues/2756)) DelegationFor and DebondingDelegationsFor would stop traversing the state to soon in some cases. - staking/api/commission: fix possible panic in validation check - ([#2763](https://github.com/oasislabs/oasis-core/issues/2763)) + ([#2763](https://github.com/oasisprotocol/oasis-core/issues/2763)) The validation check would panic whenever the number of bound steps was greater than `rate_steps + 2`. - go/storage/mkvs: Don't forget to include siblings in SyncGet proof - ([#2775](https://github.com/oasislabs/oasis-core/issues/2775)) + ([#2775](https://github.com/oasisprotocol/oasis-core/issues/2775)) - storage/mkvs: Don't try to sync dirty keys - ([#2775](https://github.com/oasislabs/oasis-core/issues/2775)) + ([#2775](https://github.com/oasisprotocol/oasis-core/issues/2775)) - go/storage/client: Refresh connections when retrying - ([#2783](https://github.com/oasislabs/oasis-core/issues/2783)) + ([#2783](https://github.com/oasisprotocol/oasis-core/issues/2783)) Previously the storage client did not refresh connections on each retry, so in case a committee change happened while an operation was in progress, all @@ -585,75 +585,75 @@ The format is inspired by [Keep a Changelog]. failed. We now refresh connections on each retry. - go/storage/client: Don't treat "no nodes" as a permanent error - ([#2785](https://github.com/oasislabs/oasis-core/issues/2785)) + ([#2785](https://github.com/oasisprotocol/oasis-core/issues/2785)) - go/consensus/tendermint: Use our notion of latest height - ([#2786](https://github.com/oasislabs/oasis-core/issues/2786)) + ([#2786](https://github.com/oasisprotocol/oasis-core/issues/2786)) Do not let Tendermint determine the latest height as that completely ignores ABCI processing so it can return a block for which local state does not yet exist. - go/runtime/client: use history for GetBlock(latest) - ([#2795](https://github.com/oasislabs/oasis-core/issues/2795)) + ([#2795](https://github.com/oasisprotocol/oasis-core/issues/2795)) Using history for all GetBlock requests prevents the case where the latest block would already be available but not yet in history, leading to inconsistent results compared to querying by specific block number. - go/storage/mkvs: Use cbor.UnmarshalTrusted for internal metadata - ([#2800](https://github.com/oasislabs/oasis-core/issues/2800)) + ([#2800](https://github.com/oasisprotocol/oasis-core/issues/2800)) - go/consensus: Shorten gas import - ([#2802](https://github.com/oasislabs/oasis-core/issues/2802)) + ([#2802](https://github.com/oasisprotocol/oasis-core/issues/2802)) Switch to more concise `FromUint64`. - go/consensus/tendermint/apps/staking: Propagate error in initTotalSupply - ([#2809](https://github.com/oasislabs/oasis-core/issues/2809)) + ([#2809](https://github.com/oasisprotocol/oasis-core/issues/2809)) - go/staking: Use uint16 for limits in CommissionScheduleRules - ([#2810](https://github.com/oasislabs/oasis-core/issues/2810)) + ([#2810](https://github.com/oasisprotocol/oasis-core/issues/2810)) - go/txsource/queries: Wait for indexed blocks before GetBlockByHash - ([#2814](https://github.com/oasislabs/oasis-core/issues/2814)) + ([#2814](https://github.com/oasisprotocol/oasis-core/issues/2814)) - go/worker/registration: Fix crash when failing to query sentry addresses - ([#2825](https://github.com/oasislabs/oasis-core/issues/2825)) + ([#2825](https://github.com/oasisprotocol/oasis-core/issues/2825)) - go/consensus/tendermint: Bump Tendermint Core to 0.32.10 - ([#2833](https://github.com/oasislabs/oasis-core/issues/2833)) + ([#2833](https://github.com/oasisprotocol/oasis-core/issues/2833)) ### Documentation improvements - README: Update Rust-related installation instructions - ([#2745](https://github.com/oasislabs/oasis-core/issues/2745)) + ([#2745](https://github.com/oasisprotocol/oasis-core/issues/2745)) ### Internal changes - Move storage/mkvs/urkel to just storage/mkvs - ([#2657](https://github.com/oasislabs/oasis-core/issues/2657)) + ([#2657](https://github.com/oasisprotocol/oasis-core/issues/2657)) The MKVS implementation has been changed from the initial "Urkel tree" structure and it is no longer an actual "Urkel tree" so having "urkel" in its name is just confusing. - runtime: Add hongfuzz fuzzing targets - ([#2705](https://github.com/oasislabs/oasis-core/issues/2705)) + ([#2705](https://github.com/oasisprotocol/oasis-core/issues/2705)) - go/staking/api: Add more details to sanity check errors - ([#2760](https://github.com/oasislabs/oasis-core/issues/2760)) + ([#2760](https://github.com/oasisprotocol/oasis-core/issues/2760)) - Make: Allow running Go unit tests and node tests independently - ([#2776](https://github.com/oasislabs/oasis-core/issues/2776)) + ([#2776](https://github.com/oasisprotocol/oasis-core/issues/2776)) They can be run using the new `test-unit` and `test-node` targets. - txsource/workload/queries: Add num last kept versions argument - ([#2783](https://github.com/oasislabs/oasis-core/issues/2783)) + ([#2783](https://github.com/oasisprotocol/oasis-core/issues/2783)) - go/runtime/client: Use prefetch (GetTransactionMultiple) in QueryTxs - ([#2783](https://github.com/oasislabs/oasis-core/issues/2783)) + ([#2783](https://github.com/oasisprotocol/oasis-core/issues/2783)) Previously if multiple transactions in the same block were returned as QueryTxs results, each transaction was queried independently, resulting in @@ -661,35 +661,35 @@ The format is inspired by [Keep a Changelog]. transactions in a single round trip which should improve latency. - txsource/queries: increase the odds of querying the latest height - ([#2787](https://github.com/oasislabs/oasis-core/issues/2787)) + ([#2787](https://github.com/oasisprotocol/oasis-core/issues/2787)) - go/txsource/queries: obtain earliest runtime round from runtime genesis - ([#2796](https://github.com/oasislabs/oasis-core/issues/2796)) + ([#2796](https://github.com/oasisprotocol/oasis-core/issues/2796)) - go/common/cbor: Add UnmarshalTrusted for trusted inputs - ([#2800](https://github.com/oasislabs/oasis-core/issues/2800)) + ([#2800](https://github.com/oasisprotocol/oasis-core/issues/2800)) The new method relaxes some decoding restrictions for cases where the inputs are trusted (e.g., because they are known to be generated by the local node itself). - oasis-test-runner/txsource: increase number of validators - ([#2815](https://github.com/oasislabs/oasis-core/issues/2815)) + ([#2815](https://github.com/oasisprotocol/oasis-core/issues/2815)) Increase the number of validators used in txsource tests so that consensus can keep making progress when one of the nodes is restarted. - go/consensus/tendermint: support DebugUnsafeReplayRecoverCorruptedWAL - ([#2815](https://github.com/oasislabs/oasis-core/issues/2815)) + ([#2815](https://github.com/oasisprotocol/oasis-core/issues/2815)) Adds support for setting tendermint DebugUnsafeReplayRecoverCorruptedWAL and enables it in daily txsource test runs. - oasis-test-runner/txsource: disable LogAssertNoTimeouts if restarts - ([#2817](https://github.com/oasislabs/oasis-core/issues/2817)) + ([#2817](https://github.com/oasisprotocol/oasis-core/issues/2817)) - go/extra/stats: Update availability score formula - ([#2819](https://github.com/oasislabs/oasis-core/issues/2819)) + ([#2819](https://github.com/oasisprotocol/oasis-core/issues/2819)) As per , @@ -697,46 +697,46 @@ The format is inspired by [Keep a Changelog]. Proposed" to "Blocks Signed + 50 x Blocks Proposed in Round 0". - oasis-test-runner/txsource: disable Merge Discrepancy checker - ([#2821](https://github.com/oasislabs/oasis-core/issues/2821)) + ([#2821](https://github.com/oasisprotocol/oasis-core/issues/2821)) Timeout due to validator restarting also causes a merge discrepancy. Since timeouts can happen, also disable the Merge discrepancy checker. - go/runtime/committee: Introduce close delay when rotating connections - ([#2822](https://github.com/oasislabs/oasis-core/issues/2822)) + ([#2822](https://github.com/oasisprotocol/oasis-core/issues/2822)) Previously a connection was immediately closed, interrupting any in-flight requests. This introduces a configurable (via WithCloseDelay option) close delay so rotated connections are only closed after some time. - go/common/grpc: Remove manual resolver hack - ([#2822](https://github.com/oasislabs/oasis-core/issues/2822)) + ([#2822](https://github.com/oasisprotocol/oasis-core/issues/2822)) Since gRPC supports the WithResolvers option to specify local resolvers there is no need to use the global resolver registry hack. - go/runtime/committee: Don't reset committees when they don't change - ([#2822](https://github.com/oasislabs/oasis-core/issues/2822)) + ([#2822](https://github.com/oasisprotocol/oasis-core/issues/2822)) Previously each committee election triggered a reset of all connections for that committee. This changes the logic to just bump the committee version in case all the committee members are the same. - tests/fixture/txsources: add initial balance for validator-3 - ([#2830](https://github.com/oasislabs/oasis-core/issues/2830)) + ([#2830](https://github.com/oasisprotocol/oasis-core/issues/2830)) ## 20.4 (2020-03-04) ### Removals and Breaking changes - go/registry: Enable non-genesis runtime registrations by default - ([#2406](https://github.com/oasislabs/oasis-core/issues/2406)) + ([#2406](https://github.com/oasisprotocol/oasis-core/issues/2406)) - Optionally require a deposit for registering a runtime - ([#2638](https://github.com/oasislabs/oasis-core/issues/2638)) + ([#2638](https://github.com/oasisprotocol/oasis-core/issues/2638)) - go/staking: Add stateful stake accumulator - ([#2642](https://github.com/oasislabs/oasis-core/issues/2642)) + ([#2642](https://github.com/oasisprotocol/oasis-core/issues/2642)) Previously there was no central place to account for all the parts that need to claim some part of an entity's stake which required approximations all @@ -750,16 +750,16 @@ The format is inspired by [Keep a Changelog]. correct amount of stake. - go/registry: Add explicit EntityID field to Runtime descriptors - ([#2642](https://github.com/oasislabs/oasis-core/issues/2642)) + ([#2642](https://github.com/oasisprotocol/oasis-core/issues/2642)) - go/staking: More reward for more signatures - ([#2647](https://github.com/oasislabs/oasis-core/issues/2647)) + ([#2647](https://github.com/oasisprotocol/oasis-core/issues/2647)) We're adjusting fee distribution and the block proposing staking reward to incentivize proposers to create blocks with more signatures. - Send and check expected epoch number during transaction execution - ([#2650](https://github.com/oasislabs/oasis-core/issues/2650)) + ([#2650](https://github.com/oasisprotocol/oasis-core/issues/2650)) Stress tests revealed some race conditions during transaction execution when there is an epoch transition. Runtime client now sends `expectedEpochNumber` @@ -769,7 +769,7 @@ The format is inspired by [Keep a Changelog]. transaction. - go/staking: Add per-account lockup - ([#2672](https://github.com/oasislabs/oasis-core/issues/2672)) + ([#2672](https://github.com/oasisprotocol/oasis-core/issues/2672)) With this, we'll be able to set up special accounts in the genesis document where they're not permitted to transfer staking tokens until @@ -777,7 +777,7 @@ The format is inspired by [Keep a Changelog]. They can still delegate during that time. - Use `--stake.shares` flag when specifying shares to reclaim from an escrow - ([#2690](https://github.com/oasislabs/oasis-core/issues/2690)) + ([#2690](https://github.com/oasisprotocol/oasis-core/issues/2690)) Previously, the `oasis-node stake account gen_reclaim_escrow` subcommand erroneously used the `--stake.amount` flag for specifying the amount of shares @@ -786,7 +786,7 @@ The format is inspired by [Keep a Changelog]. ### Features - Implement node upgrade mechanism - ([#2607](https://github.com/oasislabs/oasis-core/issues/2607)) + ([#2607](https://github.com/oasisprotocol/oasis-core/issues/2607)) The node now accepts upgrade descriptors which describe the upgrade to carry out. @@ -800,20 +800,20 @@ The format is inspired by [Keep a Changelog]. Once that is reached, the old binary will refuse to start. - go/common/crypto/signature/signers/remote: Add experimental remote signer - ([#2686](https://github.com/oasislabs/oasis-core/issues/2686)) + ([#2686](https://github.com/oasisprotocol/oasis-core/issues/2686)) This adds an experimental remote signer, reference remote signer implementation, and theoretically allows the node to be ran with a non-file based signer backend. - go/extra/stats: Figure out how many blocks entities propose - ([#2693](https://github.com/oasislabs/oasis-core/issues/2693)) + ([#2693](https://github.com/oasisprotocol/oasis-core/issues/2693)) Cross reference which node proposed each block and report these per-entity as well. - go/extra/stats: Availability ranking for next Quest phase - ([#2699](https://github.com/oasislabs/oasis-core/issues/2699)) + ([#2699](https://github.com/oasisprotocol/oasis-core/issues/2699)) A new availability score will take into account more than the number of block signatures alone. @@ -823,25 +823,25 @@ The format is inspired by [Keep a Changelog]. This also implements a provisional scoring formula. - go/oasis-node/txsource: Add registration workload - ([#2718](https://github.com/oasislabs/oasis-core/issues/2718)) + ([#2718](https://github.com/oasisprotocol/oasis-core/issues/2718)) - go/oasis-node/txsource: Add parallel workload - ([#2724](https://github.com/oasislabs/oasis-core/issues/2724)) + ([#2724](https://github.com/oasisprotocol/oasis-core/issues/2724)) - go/scheduler: Validators now returns validators by node ID - ([#2739](https://github.com/oasislabs/oasis-core/issues/2739)) + ([#2739](https://github.com/oasisprotocol/oasis-core/issues/2739)) The consensus ID isn't all that useful for most external callers, so querying it should just return the validators by node ID instead. - go/staking: Add a `Delegations()` call, and expose it over gRPC - ([#2740](https://github.com/oasislabs/oasis-core/issues/2740)) + ([#2740](https://github.com/oasisprotocol/oasis-core/issues/2740)) This adds a `Delegations()` call in the spirit of `DebondingDelegations()` that returns a map of delegations for a given delegator. - go/oasis-node/txsource: Use a special account for funding accounts - ([#2744](https://github.com/oasislabs/oasis-core/issues/2744)) + ([#2744](https://github.com/oasisprotocol/oasis-core/issues/2744)) Generate and fund a special account that is used for funding accounts during the workload instead of hard-coding funding for fixed addresses. @@ -851,10 +851,10 @@ The format is inspired by [Keep a Changelog]. ### Bug Fixes - go/storage/client: Retry storage ops on specific errors - ([#1865](https://github.com/oasislabs/oasis-core/issues/1865)) + ([#1865](https://github.com/oasisprotocol/oasis-core/issues/1865)) - go/tendermint: Unfatalize seed populating nodes from genesis - ([#2554](https://github.com/oasislabs/oasis-core/issues/2554)) + ([#2554](https://github.com/oasisprotocol/oasis-core/issues/2554)) In some cases we'd prefer to include some nodes in the genesis document even when they're registered with an invalid address. @@ -863,57 +863,57 @@ The format is inspired by [Keep a Changelog]. keeping those entries available for the rest of the system. - go: Re-enable signature verification disabled for migration - ([#2615](https://github.com/oasislabs/oasis-core/issues/2615)) + ([#2615](https://github.com/oasisprotocol/oasis-core/issues/2615)) Now that the migration has hopefully been done, re-enable all of the signature verification that was disabled for the sake of allowing for migration. - go: Don't scan the whole keyspace in badger's tendermint DB implementation - ([#2664](https://github.com/oasislabs/oasis-core/issues/2664)) + ([#2664](https://github.com/oasisprotocol/oasis-core/issues/2664)) When we run off the end of a range iteration. - runtime: Bump ring to 0.16.11, snow to 0.6.2, Rust to 2020-02-16 - ([#2666](https://github.com/oasislabs/oasis-core/issues/2666)) + ([#2666](https://github.com/oasisprotocol/oasis-core/issues/2666)) - go/staking/api: Fix genesis sanity check for nonexisting accounts - ([#2671](https://github.com/oasislabs/oasis-core/issues/2671)) + ([#2671](https://github.com/oasisprotocol/oasis-core/issues/2671)) Detect when a (debonding) delegation is specified for a nonexisting account and report an appropriate error. - go/storage/mkvs: Fix iterator bug - ([#2691](https://github.com/oasislabs/oasis-core/issues/2691)) + ([#2691](https://github.com/oasisprotocol/oasis-core/issues/2691)) - go/storage/mkvs: Fix bug in `key.Merge` operation with extra bytes - ([#2698](https://github.com/oasislabs/oasis-core/issues/2698)) + ([#2698](https://github.com/oasisprotocol/oasis-core/issues/2698)) - go/storage/mkvs: Fix removal crash when key is too short - ([#2698](https://github.com/oasislabs/oasis-core/issues/2698)) + ([#2698](https://github.com/oasisprotocol/oasis-core/issues/2698)) - go/storage/mkvs: Fix node unmarshallers - ([#2703](https://github.com/oasislabs/oasis-core/issues/2703)) + ([#2703](https://github.com/oasisprotocol/oasis-core/issues/2703)) - go/storage/mkvs: Fix proof verifier - ([#2703](https://github.com/oasislabs/oasis-core/issues/2703)) + ([#2703](https://github.com/oasisprotocol/oasis-core/issues/2703)) - go/consensus/tendermint: Properly cache consensus parameters - ([#2708](https://github.com/oasislabs/oasis-core/issues/2708)) + ([#2708](https://github.com/oasisprotocol/oasis-core/issues/2708)) - go/badger: Enable truncate to recover from corrupted value log file - ([#2732](https://github.com/oasislabs/oasis-core/issues/2732)) + ([#2732](https://github.com/oasisprotocol/oasis-core/issues/2732)) Apparently badger is not at all resilient to crashes unless the truncate option is enabled. - go/oasis-net-runner/fixtures: Increase scheduler max batch size to 16 MiB - ([#2741](https://github.com/oasislabs/oasis-core/issues/2741)) + ([#2741](https://github.com/oasisprotocol/oasis-core/issues/2741)) This change facilitates RPCs to larger, more featureful runtimes. - go/common/version: Allow omission of trailing numbers in `parSemVerStr()` - ([#2742](https://github.com/oasislabs/oasis-core/issues/2742)) + ([#2742](https://github.com/oasisprotocol/oasis-core/issues/2742)) Go's [`runtime.Version()`](https://golang.org/pkg/runtime/#Version) function can omit the patch number, so augment `parSemVerStr()` to handle that. @@ -921,12 +921,12 @@ The format is inspired by [Keep a Changelog]. ### Internal changes - github: Bump GoReleaser to 0.127.0 and switch back to upstream - ([#2564](https://github.com/oasislabs/oasis-core/issues/2564)) + ([#2564](https://github.com/oasisprotocol/oasis-core/issues/2564)) - github: Add new steps to ci-lint workflow - ([#2572](https://github.com/oasislabs/oasis-core/issues/2572), - [#2692](https://github.com/oasislabs/oasis-core/issues/2692), - [#2717](https://github.com/oasislabs/oasis-core/issues/2717)) + ([#2572](https://github.com/oasisprotocol/oasis-core/issues/2572), + [#2692](https://github.com/oasisprotocol/oasis-core/issues/2692), + [#2717](https://github.com/oasisprotocol/oasis-core/issues/2717)) Add _Lint git commits_, _Lint Markdown files_, _Lint Change Log fragments_ and _Check go mod tidy_ steps to ci-lint GitHub Actions workflow. @@ -934,8 +934,8 @@ The format is inspired by [Keep a Changelog]. Remove _Lint Git commits_ step from Buildkite's CI pipeline. - ci: Skip some steps for non-code changes - ([#2573](https://github.com/oasislabs/oasis-core/issues/2573), - [#2702](https://github.com/oasislabs/oasis-core/issues/2702)) + ([#2573](https://github.com/oasisprotocol/oasis-core/issues/2573), + [#2702](https://github.com/oasisprotocol/oasis-core/issues/2702)) When one makes a pull request that e.g. only adds documentation or assembles the Change Log from fragments, all the *heavy* Buildkite @@ -943,22 +943,22 @@ The format is inspired by [Keep a Changelog]. skipped. - go/common/cbor: Bump fxamacker/cbor to v2.2 - ([#2635](https://github.com/oasislabs/oasis-core/issues/2635)) + ([#2635](https://github.com/oasisprotocol/oasis-core/issues/2635)) - go/storage/mkvs: Fuzz storage proof decoder - ([#2637](https://github.com/oasislabs/oasis-core/issues/2637)) + ([#2637](https://github.com/oasisprotocol/oasis-core/issues/2637)) - ci: merge coverage files per job - ([#2644](https://github.com/oasislabs/oasis-core/issues/2644)) + ([#2644](https://github.com/oasisprotocol/oasis-core/issues/2644)) - go/oasis-test-runner: Update multiple-runtimes E2E test - ([#2650](https://github.com/oasislabs/oasis-core/issues/2650)) + ([#2650](https://github.com/oasisprotocol/oasis-core/issues/2650)) Reduce all group sizes to 1 with no backups, use `EpochtimeMock` to avoid unexpected blocks, add `numComputeWorkers` parameter. - Replace redundant fields with `Consensus` accessors - ([#2650](https://github.com/oasislabs/oasis-core/issues/2650)) + ([#2650](https://github.com/oasisprotocol/oasis-core/issues/2650)) `Backend` in `go/consensus/api` contains among others accessors for `Beacon`, `EpochTime`, `Registry`, `RootHash`, `Scheduler`, and @@ -972,7 +972,7 @@ The format is inspired by [Keep a Changelog]. - `Group` in `go/worker/common/committee`. - go/storage: Refactor checkpointing interface - ([#2659](https://github.com/oasislabs/oasis-core/issues/2659)) + ([#2659](https://github.com/oasisprotocol/oasis-core/issues/2659)) Previously the way storage checkpoints were implemented had several drawbacks, namely: @@ -990,14 +990,14 @@ The format is inspired by [Keep a Changelog]. also be used in the future with Tendermint's app state sync proposal. - changelog: Use Git commit message style for Change Log fragments - ([#2662](https://github.com/oasislabs/oasis-core/issues/2662)) + ([#2662](https://github.com/oasisprotocol/oasis-core/issues/2662)) For more details, see the description in [Change Log fragments]( .changelog/README.md). - Make: Add lint targets - ([#2662](https://github.com/oasislabs/oasis-core/issues/2662), - [#2692](https://github.com/oasislabs/oasis-core/issues/2692)) + ([#2662](https://github.com/oasisprotocol/oasis-core/issues/2662), + [#2692](https://github.com/oasisprotocol/oasis-core/issues/2692)) Add a general `lint` target that depends on the following lint targets: @@ -1007,45 +1007,45 @@ The format is inspired by [Keep a Changelog]. - `lint-changelog`: Lint Change Log fragments. - Add sanity checks for stake accumulator state integrity - ([#2665](https://github.com/oasislabs/oasis-core/issues/2665)) + ([#2665](https://github.com/oasisprotocol/oasis-core/issues/2665)) - go/consensus/tendermint: Don't use `UnsafeSigner` - ([#2670](https://github.com/oasislabs/oasis-core/issues/2670)) + ([#2670](https://github.com/oasisprotocol/oasis-core/issues/2670)) - rust: Update ed25519-dalek and associated dependencies - ([#2678](https://github.com/oasislabs/oasis-core/issues/2678)) + ([#2678](https://github.com/oasisprotocol/oasis-core/issues/2678)) This change updates ed25519-dalek, rand and x25519-dalek. - Bump minimum Go version to 1.13.8 - ([#2689](https://github.com/oasislabs/oasis-core/issues/2689)) + ([#2689](https://github.com/oasisprotocol/oasis-core/issues/2689)) - go/storage/mkvs: Add overlay tree to support rolling back state - ([#2691](https://github.com/oasislabs/oasis-core/issues/2691)) + ([#2691](https://github.com/oasisprotocol/oasis-core/issues/2691)) - go/storage/mkvs: Make `Tree` an interface - ([#2691](https://github.com/oasislabs/oasis-core/issues/2691)) + ([#2691](https://github.com/oasisprotocol/oasis-core/issues/2691)) - gitlint: Require body length of at least 20 characters (if body exists) - ([#2692](https://github.com/oasislabs/oasis-core/issues/2692)) + ([#2692](https://github.com/oasisprotocol/oasis-core/issues/2692)) - Make build-fuzz work again, test it on CI - ([#2695](https://github.com/oasislabs/oasis-core/issues/2695)) + ([#2695](https://github.com/oasisprotocol/oasis-core/issues/2695)) - changelog: Reference multiple issues/pull requests for a single entry - ([#2697](https://github.com/oasislabs/oasis-core/issues/2697)) + ([#2697](https://github.com/oasisprotocol/oasis-core/issues/2697)) For more details, see the description in [Change Log fragments]( .changelog/README.md#multiple-issues--pull-requests-for-a-single-fragment). - go/storage/mkvs: Add MKVS fuzzing - ([#2698](https://github.com/oasislabs/oasis-core/issues/2698)) + ([#2698](https://github.com/oasisprotocol/oasis-core/issues/2698)) - github: Don't trigger ci-reproducibility workflow for pull requests - ([#2704](https://github.com/oasislabs/oasis-core/issues/2704)) + ([#2704](https://github.com/oasisprotocol/oasis-core/issues/2704)) - go/oasis-test-runner: Improve txsource E2E test - ([#2709](https://github.com/oasislabs/oasis-core/issues/2709)) + ([#2709](https://github.com/oasisprotocol/oasis-core/issues/2709)) This adds the following general txsource scenario features: @@ -1057,7 +1057,7 @@ The format is inspired by [Keep a Changelog]. transactions periodically. - go/consensus/tendermint: Expire txes when CheckTx is disabled - ([#2720](https://github.com/oasislabs/oasis-core/issues/2720)) + ([#2720](https://github.com/oasisprotocol/oasis-core/issues/2720)) When CheckTx is disabled (for debug purposes only, e.g. in E2E tests), we still need to periodically remove old transactions as otherwise the mempool @@ -1065,7 +1065,7 @@ The format is inspired by [Keep a Changelog]. they expire. - runtime: Remove the non-webpki/snow related uses of ring - ([#2733](https://github.com/oasislabs/oasis-core/issues/2733)) + ([#2733](https://github.com/oasisprotocol/oasis-core/issues/2733)) As much as I like the concept of ring as a library, and the implementation, the SGX support situation is ridiculous, and we should @@ -1076,7 +1076,7 @@ The format is inspired by [Keep a Changelog]. ### Removals and Breaking changes - Add gRPC Sentry Nodes support - ([#1829](https://github.com/oasislabs/oasis-core/issues/1829)) + ([#1829](https://github.com/oasisprotocol/oasis-core/issues/1829)) This adds gRPC proxying and policy enforcement support to existing sentry nodes, which enables protecting upstream nodes' gRPC endpoints. @@ -1096,7 +1096,7 @@ The format is inspired by [Keep a Changelog]. `worker.sentry.cert_file` - go/common/crypto/tls: Use ed25519 instead of P-256 - ([#2058](https://github.com/oasislabs/oasis-core/issues/2058)) + ([#2058](https://github.com/oasisprotocol/oasis-core/issues/2058)) This change is breaking as the old certificates are no longer supported, and they must be regenerated. Note that this uses the slower runtime @@ -1105,14 +1105,14 @@ The format is inspired by [Keep a Changelog]. - All marshalable enumerations in the code were checked and the default `Invalid = 0` value was added, if it didn't exist before - ([#2546](https://github.com/oasislabs/oasis-core/issues/2546)) + ([#2546](https://github.com/oasisprotocol/oasis-core/issues/2546)) This makes the code less error prone and more secure, because it requires the enum field to be explicitly set, if some meaningful behavior is expected from the corresponding object. - go/registry: Add `ConsensusParams.MaxNodeExpiration` - ([#2580](https://github.com/oasislabs/oasis-core/issues/2580)) + ([#2580](https://github.com/oasisprotocol/oasis-core/issues/2580)) Node expirations being unbound is likely a bad idea. This adds a consensus parameter that limits the maximum lifespan of a node @@ -1126,14 +1126,14 @@ The format is inspired by [Keep a Changelog]. will succeed. - go/common/crypto/signature: Use base64-encoded IDs/public keys - ([#2588](https://github.com/oasislabs/oasis-core/issues/2588)) + ([#2588](https://github.com/oasisprotocol/oasis-core/issues/2588)) Change `String()` method to return base64-encoded representation of a public key instead of the hex-encoded representation to unify CLI experience when passing/printing IDs/public keys. - go/registry: Disallow entity signed node registrations - ([#2594](https://github.com/oasislabs/oasis-core/issues/2594)) + ([#2594](https://github.com/oasisprotocol/oasis-core/issues/2594)) This feature is mostly useful for testing and should not be used in production, basically ever. Additionally, when provisioning node @@ -1143,7 +1143,7 @@ The format is inspired by [Keep a Changelog]. feature is already feature-gated, so this is unlikely. - go/registry: Ensure that node descriptors are signed by all public keys - ([#2599](https://github.com/oasislabs/oasis-core/issues/2599)) + ([#2599](https://github.com/oasisprotocol/oasis-core/issues/2599)) To ensure that nodes demonstrate proof that they posses the private keys for all public keys contained in their descriptor, node descriptors now @@ -1153,27 +1153,27 @@ The format is inspired by [Keep a Changelog]. will be rejected. - Rewards and fees consensus parameters - ([#2624](https://github.com/oasislabs/oasis-core/issues/2624)) + ([#2624](https://github.com/oasisprotocol/oasis-core/issues/2624)) Previously things like reward "factors" and fee distribution "weights" were hardcoded. But we have pretty good support for managing consensus parameters, so we ought to move them there. - Special rewards for block proposer - ([#2625](https://github.com/oasislabs/oasis-core/issues/2625)) + ([#2625](https://github.com/oasisprotocol/oasis-core/issues/2625)) - a larger portion of the fees - an additional reward - go/consensus/tendermint: mux offset block height consistently - ([#2634](https://github.com/oasislabs/oasis-core/issues/2634)) + ([#2634](https://github.com/oasisprotocol/oasis-core/issues/2634)) We've been using `blockHeight+1` for getting the epoch time except for on blockHeight=1. The hypothesis in this change is that we don't need that special case. - Tendermint P2P configuration parameters - ([#2646](https://github.com/oasislabs/oasis-core/issues/2646)) + ([#2646](https://github.com/oasisprotocol/oasis-core/issues/2646)) This allows configuring P2P parameters: - `MaxNumInboundPeers`, @@ -1191,7 +1191,7 @@ The format is inspired by [Keep a Changelog]. moves all P2P parameters under the `tendermint.p2p.*` namespace. - Add `oasis-node identity tendermint show-{node,consensus}-address` subcommands - ([#2649](https://github.com/oasislabs/oasis-core/issues/2649)) + ([#2649](https://github.com/oasisprotocol/oasis-core/issues/2649)) The `show-node-address` subcommmand returns node's public key converted to Tendermint's address format. @@ -1203,7 +1203,7 @@ The format is inspired by [Keep a Changelog]. ### Features - Refresh node descriptors mid-epoch - ([#1794](https://github.com/oasislabs/oasis-core/issues/1794)) + ([#1794](https://github.com/oasisprotocol/oasis-core/issues/1794)) Previously node descriptors were only refreshed on an epoch transition which meant that any later updates were ignored until the next epoch. @@ -1214,22 +1214,22 @@ The format is inspired by [Keep a Changelog]. node descriptor updates. - go/worker/storage: Add configurable limits for storage operations - ([#1914](https://github.com/oasislabs/oasis-core/issues/1914)) + ([#1914](https://github.com/oasisprotocol/oasis-core/issues/1914)) - Flexible key manager policy signers - ([#2444](https://github.com/oasislabs/oasis-core/issues/2444)) + ([#2444](https://github.com/oasisprotocol/oasis-core/issues/2444)) The key manager runtime has been split into multiple crates to make its code reusable. It is now possible for others to write their own key managers that use a different set of trusted policy signers. - Add `oasis-node registry node is-registered` subcommand - ([#2508](https://github.com/oasislabs/oasis-core/issues/2508)) + ([#2508](https://github.com/oasisprotocol/oasis-core/issues/2508)) It checks whether the node is registered. - Runtime node admission policies - ([#2513](https://github.com/oasislabs/oasis-core/issues/2513)) + ([#2513](https://github.com/oasisprotocol/oasis-core/issues/2513)) With this, each runtime can define its node admission policy. @@ -1240,10 +1240,10 @@ The format is inspired by [Keep a Changelog]. The second one (anyone with enough stake) can introduce liveness issues as long as there is no slashing for compute node liveness (see - [#2078](https://github.com/oasislabs/oasis-core/issues/2078)). + [#2078](https://github.com/oasisprotocol/oasis-core/issues/2078)). - go/keymanager: Support policy updates - ([#2516](https://github.com/oasislabs/oasis-core/issues/2516)) + ([#2516](https://github.com/oasisprotocol/oasis-core/issues/2516)) This change adds the ability for the key manager runtime owner to update the key manger policy document at runtime by submitting an appropriate @@ -1253,7 +1253,7 @@ The format is inspired by [Keep a Changelog]. transitions for the key manager to be available to clients. - Tooling for runtimes' node admission policy - ([#2563](https://github.com/oasislabs/oasis-core/issues/2563)) + ([#2563](https://github.com/oasisprotocol/oasis-core/issues/2563)) We added a policy type where you can whitelist the entities that can operate compute nodes. @@ -1261,7 +1261,7 @@ The format is inspired by [Keep a Changelog]. init tool can set them up. - Export signer public key to entity - ([#2609](https://github.com/oasislabs/oasis-core/issues/2609)) + ([#2609](https://github.com/oasisprotocol/oasis-core/issues/2609)) We added a command to export entities from existing signers, and a check to ensure that the entity and signer public keys match. @@ -1270,7 +1270,7 @@ The format is inspired by [Keep a Changelog]. Ledger. - go/registry: Handle the old and busted node descriptor envelope - ([#2614](https://github.com/oasislabs/oasis-core/issues/2614)) + ([#2614](https://github.com/oasisprotocol/oasis-core/issues/2614)) The old node descriptor envelope has one signature. The new envelope has multiple signatures, to ensure that the node has access to the private @@ -1295,7 +1295,7 @@ The format is inspired by [Keep a Changelog]. compatibility will NOT be maintained. - go/oasis-node/cmd/debug/fixgenesis: Support migrating Node.Roles - ([#2620](https://github.com/oasislabs/oasis-core/issues/2620)) + ([#2620](https://github.com/oasisprotocol/oasis-core/issues/2620)) The `node.RolesMask` bit definitions have changed since the last major release deployed to the wild, so support migrating things by rewriting @@ -1306,7 +1306,7 @@ The format is inspired by [Keep a Changelog]. ### Bug Fixes - go/registry: deduplicate registry sanity checks and re-enable address checks - ([#2428](https://github.com/oasislabs/oasis-core/issues/2428)) + ([#2428](https://github.com/oasisprotocol/oasis-core/issues/2428)) Existing deployments had invalid P2P/Committee IDs and addresses as old code did not validate all the fields at node registration time. All ID and address @@ -1319,66 +1319,67 @@ The format is inspired by [Keep a Changelog]. - Make oasis-node binaries made with GoReleaser via GitHub Actions reproducible again - ([#2571](https://github.com/oasislabs/oasis-core/issues/2571)) + ([#2571](https://github.com/oasisprotocol/oasis-core/issues/2571)) Add `-buildid=` back to `ldflags` to make builds reproducible again. - As noted in [60641ce](https://github.com/oasislabs/oasis-core/commit/60641ce), + As noted in + [60641ce](https://github.com/oasisprotocol/oasis-core/commit/60641ce), this should be no longer necessary with Go 1.13.4+, but there appears to be a [specific issue with GoReleaser's build handling]( https://github.com/oasislabs/goreleaser/issues/1). - go/worker/storage: Fix sync deadlock - ([#2584](https://github.com/oasislabs/oasis-core/issues/2584)) + ([#2584](https://github.com/oasisprotocol/oasis-core/issues/2584)) - go/consensus/tendermint: Always accept own transactions - ([#2586](https://github.com/oasislabs/oasis-core/issues/2586)) + ([#2586](https://github.com/oasisprotocol/oasis-core/issues/2586)) A validator node should always accept own transactions (signed by the node's identity key) regardless of the configured gas price. - go/registry: Allow expired registrations at genesis - ([#2598](https://github.com/oasislabs/oasis-core/issues/2598)) + ([#2598](https://github.com/oasisprotocol/oasis-core/issues/2598)) The dump/restore process requires this to be permitted as expired registrations are persisted through an entity's debonding period. - go/oasis-node/cmd/registry/runtime: Fix loading entities in registry runtime subcommands - ([#2606](https://github.com/oasislabs/oasis-core/issues/2606)) + ([#2606](https://github.com/oasisprotocol/oasis-core/issues/2606)) - go/storage: Fix invalid memory access crash in Urkel tree - ([#2611](https://github.com/oasislabs/oasis-core/issues/2611)) + ([#2611](https://github.com/oasisprotocol/oasis-core/issues/2611)) - go/consensus/tendermint/apps/staking: Fix epochtime overflow - ([#2627](https://github.com/oasislabs/oasis-core/issues/2627)) + ([#2627](https://github.com/oasisprotocol/oasis-core/issues/2627)) - go/tendermint/keymanager: Error in Status() if keymanager doesn't exist - ([#2628](https://github.com/oasislabs/oasis-core/issues/2628)) + ([#2628](https://github.com/oasisprotocol/oasis-core/issues/2628)) This fixes panics in the key-manager client if keymanager for the specific runtime doesn't exist. - go/oasis-node/cmd/stake: Make info subcommand tolerate invalid thresholds - ([#2632](https://github.com/oasislabs/oasis-core/issues/2632)) + ([#2632](https://github.com/oasisprotocol/oasis-core/issues/2632)) Change the subcommand to print valid staking threshold kinds and warn about invalid ones. - go/staking/api: Check if thresholds for all kinds are defined in genesis - ([#2633](https://github.com/oasislabs/oasis-core/issues/2633)) + ([#2633](https://github.com/oasisprotocol/oasis-core/issues/2633)) - go/cmd/registry/runtime: Fix provisioning a runtime without keymanager - ([#2639](https://github.com/oasislabs/oasis-core/issues/2639)) + ([#2639](https://github.com/oasisprotocol/oasis-core/issues/2639)) - registry/api/sanitycheck: Move genesis stateroot check into registration - ([#2643](https://github.com/oasislabs/oasis-core/issues/2643)) + ([#2643](https://github.com/oasisprotocol/oasis-core/issues/2643)) Runtime genesis check should only be done when registering, not during the sanity checks. - Make `oasis control is-synced` subcommand more verbose - ([#2649](https://github.com/oasislabs/oasis-core/issues/2649)) + ([#2649](https://github.com/oasisprotocol/oasis-core/issues/2649)) Running `oasis-node control is-synced` will now print a message indicating whether a node has completed initial syncing or not to stdout in addition to @@ -1387,10 +1388,10 @@ The format is inspired by [Keep a Changelog]. ### Internal changes - go/genesis: Fix genesis tests and registry sanity checks - ([#2589](https://github.com/oasislabs/oasis-core/issues/2589)) + ([#2589](https://github.com/oasisprotocol/oasis-core/issues/2589)) - github: Add ci-reproducibility workflow - ([#2590](https://github.com/oasislabs/oasis-core/issues/2590)) + ([#2590](https://github.com/oasisprotocol/oasis-core/issues/2590)) The workflow spawns two build jobs that use the same build environment, except for the path of the git checkout. @@ -1402,7 +1403,7 @@ The format is inspired by [Keep a Changelog]. they are not the same. - go/consensus/tendermint/abci: Add mock ApplicationState - ([#2629](https://github.com/oasislabs/oasis-core/issues/2629)) + ([#2629](https://github.com/oasisprotocol/oasis-core/issues/2629)) This makes it easier to write unit tests for functions that require ABCI state. @@ -1412,7 +1413,7 @@ The format is inspired by [Keep a Changelog]. ### Removals and Breaking changes - go node: Unite compute, merge, and transaction scheduler roles - ([#2107](https://github.com/oasislabs/oasis-core/issues/2107)) + ([#2107](https://github.com/oasisprotocol/oasis-core/issues/2107)) We're removing the separation among registering nodes for the compute, merge, and transaction scheduler roles. @@ -1420,7 +1421,7 @@ The format is inspired by [Keep a Changelog]. new, broadened, and confusing--you're welcome--term "compute". - Simplify tendermint sentry node setup. - ([#2362](https://github.com/oasislabs/oasis-core/issues/2362)) + ([#2362](https://github.com/oasisprotocol/oasis-core/issues/2362)) Breaking configuration changes: - `worker.sentry.address` renamed to: `worker.registration.sentry.address` @@ -1432,7 +1433,7 @@ The format is inspired by [Keep a Changelog]. - Charge gas for runtime transactions and suspend runtimes which do not pay periodic maintenance fees - ([#2504](https://github.com/oasislabs/oasis-core/issues/2504)) + ([#2504](https://github.com/oasisprotocol/oasis-core/issues/2504)) This introduces gas fees for submitting roothash commitments from runtime nodes. Since periodic maintenance work must be performed on each epoch @@ -1444,7 +1445,7 @@ The format is inspired by [Keep a Changelog]. work is not needed) and must be resumed by registering nodes. - go: Rename compute -> executor - ([#2525](https://github.com/oasislabs/oasis-core/issues/2525)) + ([#2525](https://github.com/oasisprotocol/oasis-core/issues/2525)) It was proposed that we rename the "compute" phase (of the txnscheduler, _compute_, merge workflow) to "executor". @@ -1460,7 +1461,7 @@ The format is inspired by [Keep a Changelog]. line flags. - `RuntimeID` is not hard-coded in the enclave anymore - ([#2529](https://github.com/oasislabs/oasis-core/issues/2529)) + ([#2529](https://github.com/oasisprotocol/oasis-core/issues/2529)) It is passed when dispatching the runtime. This enables the same runtime binary to be registered and executed multiple times with different @@ -1469,7 +1470,7 @@ The format is inspired by [Keep a Changelog]. ### Features - Consensus simulation mode and fee estimator - ([#2521](https://github.com/oasislabs/oasis-core/issues/2521)) + ([#2521](https://github.com/oasisprotocol/oasis-core/issues/2521)) This change allows the compute nodes to participate in networks which require gas fees for various operations in the network. Gas is automatically estimated @@ -1486,7 +1487,7 @@ The format is inspired by [Keep a Changelog]. an error will be returned instead. - Optimize registry runtime lookups during node registration - ([#2538](https://github.com/oasislabs/oasis-core/issues/2538)) + ([#2538](https://github.com/oasisprotocol/oasis-core/issues/2538)) A performance optimization to avoid loading a list of all registered runtimes into memory in cases when only a specific runtime is actually needed. @@ -1494,18 +1495,18 @@ The format is inspired by [Keep a Changelog]. ### Bug Fixes - Don't allow duplicate P2P connections from the same IP by default - ([#2558](https://github.com/oasislabs/oasis-core/issues/2558)) + ([#2558](https://github.com/oasisprotocol/oasis-core/issues/2558)) - go/extra/stats: handle nil-votes and non-registered nodes - ([#2566](https://github.com/oasislabs/oasis-core/issues/2566)) + ([#2566](https://github.com/oasisprotocol/oasis-core/issues/2566)) - go/oasis-node: Include account ID in `stake list -v` subcommand - ([#2567](https://github.com/oasislabs/oasis-core/issues/2567)) + ([#2567](https://github.com/oasisprotocol/oasis-core/issues/2567)) Changes `stake list -v` subcommand to return a map of IDs to accounts. - Use a newer version of the oasis-core tendermint fork - ([#2569](https://github.com/oasislabs/oasis-core/issues/2569)) + ([#2569](https://github.com/oasisprotocol/oasis-core/issues/2569)) The updated fork has additional changes to tendermint to hopefully prevent the node from crashing if the file descriptors available to the @@ -1519,12 +1520,12 @@ The format is inspired by [Keep a Changelog]. ### Documentation improvements - Document versioning scheme used for Oasis Core and its Protocols - ([#2457](https://github.com/oasislabs/oasis-core/issues/2457)) + ([#2457](https://github.com/oasisprotocol/oasis-core/issues/2457)) See [Versioning Scheme](./docs/versioning.md). - Document Oasis Core's release process - ([#2565](https://github.com/oasislabs/oasis-core/issues/2565)) + ([#2565](https://github.com/oasisprotocol/oasis-core/issues/2565)) See [Release process](./docs/release-process.md). @@ -1533,7 +1534,7 @@ The format is inspired by [Keep a Changelog]. ### Features - go/worker/txnscheduler: Check transactions before queuing them - ([#2502](https://github.com/oasislabs/oasis-core/issues/2502)) + ([#2502](https://github.com/oasisprotocol/oasis-core/issues/2502)) The transaction scheduler can now optionally run runtimes and check transactions before scheduling them (see issue #1963). @@ -1543,21 +1544,21 @@ The format is inspired by [Keep a Changelog]. ### Bug Fixes - go/runtime/client: Return empty sequences instead of nil - ([#2542](https://github.com/oasislabs/oasis-core/issues/2542)) + ([#2542](https://github.com/oasisprotocol/oasis-core/issues/2542)) The runtime client endpoint should return empty sequences instead of `nil` as serde doesn't know how to decode a `NULL` when the expected type is a sequence. - Temporarily disable consensus address checks at genesis - ([#2552](https://github.com/oasislabs/oasis-core/issues/2552)) + ([#2552](https://github.com/oasisprotocol/oasis-core/issues/2552)) ## 20.0 (2020-01-10) ### Removals and Breaking changes - Use the new runtime ID allocation scheme - ([#1693](https://github.com/oasislabs/oasis-core/issues/1693)) + ([#1693](https://github.com/oasisprotocol/oasis-core/issues/1693)) This change alters the runtime ID allocation scheme to reserve the first 64 bits for flags indicating various properties of the runtime, and to @@ -1565,7 +1566,7 @@ The format is inspired by [Keep a Changelog]. appropriate consensus flag is set. - Remove staking-related roothash messages - ([#2377](https://github.com/oasislabs/oasis-core/issues/2377)) + ([#2377](https://github.com/oasisprotocol/oasis-core/issues/2377)) There is no longer a plan to support direct manipulation of the staking accounts from the runtimes in order to isolate the runtimes from corrupting @@ -1576,7 +1577,7 @@ The format is inspired by [Keep a Changelog]. future, but any commits with non-empty messages are rejected for now. - Refactoring of roothash genesis block for runtime - ([#2426](https://github.com/oasislabs/oasis-core/issues/2426)) + ([#2426](https://github.com/oasisprotocol/oasis-core/issues/2426)) - `RuntimeGenesis.Round` field was added to the roothash block for the runtime which can be set by `--runtime.genesis.round` flag. @@ -1586,16 +1587,16 @@ The format is inspired by [Keep a Changelog]. - When registering a new runtime, require that the given key manager ID points to a valid key manager in the registry - ([#2459](https://github.com/oasislabs/oasis-core/issues/2459)) + ([#2459](https://github.com/oasisprotocol/oasis-core/issues/2459)) - Remove `oasis-node debug dummy` sub-commands - ([#2492](https://github.com/oasislabs/oasis-core/issues/2492)) + ([#2492](https://github.com/oasisprotocol/oasis-core/issues/2492)) These are only useful for testing, and our test harness has a internal Go API that removes the need to have this functionality exposed as a sub-command. - Make storage per-runtime - ([#2494](https://github.com/oasislabs/oasis-core/issues/2494)) + ([#2494](https://github.com/oasisprotocol/oasis-core/issues/2494)) Previously there was a single storage backend used by `oasis-node` which required that a single database supported multiple namespaces for the case @@ -1611,27 +1612,27 @@ The format is inspired by [Keep a Changelog]. ### Features - Add `oasis-node debug storage export` sub-command - ([#1845](https://github.com/oasislabs/oasis-core/issues/1845)) + ([#1845](https://github.com/oasisprotocol/oasis-core/issues/1845)) - Add fuzzing for consensus methods - ([#2245](https://github.com/oasislabs/oasis-core/issues/2245)) + ([#2245](https://github.com/oasisprotocol/oasis-core/issues/2245)) Initial support for fuzzing was added, along with an implementation of it for some of the consensus methods. The implementation uses oasis-core's demultiplexing and method dispatch mechanisms. - Add storage backend fuzzing - ([#2246](https://github.com/oasislabs/oasis-core/issues/2246)) + ([#2246](https://github.com/oasisprotocol/oasis-core/issues/2246)) Based on the work done for consensus fuzzing, support was added to run fuzzing jobs on the storage api backend. - Add `oasis-node unsafe-reset` sub-command which resets the node back to a freshly provisioned state, preserving any key material if it exists - ([#2435](https://github.com/oasislabs/oasis-core/issues/2435)) + ([#2435](https://github.com/oasisprotocol/oasis-core/issues/2435)) - Add txsource - ([#2478](https://github.com/oasislabs/oasis-core/issues/2478)) + ([#2478](https://github.com/oasisprotocol/oasis-core/issues/2478)) The so-called "txsource" utility introduced in this PR is a starting point for something like a client that sends transactions for a long period of time, for @@ -1642,7 +1643,7 @@ The format is inspired by [Keep a Changelog]. accounts. - Add consensus block and transaction metadata accessors - ([#2482](https://github.com/oasislabs/oasis-core/issues/2482)) + ([#2482](https://github.com/oasisprotocol/oasis-core/issues/2482)) In order to enable people to build "network explorers", we exposed some additional methods via the consensus API endpoint, specifically: @@ -1652,7 +1653,7 @@ The format is inspired by [Keep a Changelog]. - Stream of consensus blocks as they are finalized. - Make maximum in-memory cache size for runtime storage configurable - ([#2494](https://github.com/oasislabs/oasis-core/issues/2494)) + ([#2494](https://github.com/oasisprotocol/oasis-core/issues/2494)) Previously the value of 64mb was always used as the size of the in-memory storage cache. This adds a new configuration parameter/command-line flag @@ -1660,7 +1661,7 @@ The format is inspired by [Keep a Changelog]. runtime storage cache. - Undisable transfers for some senders - ([#2498](https://github.com/oasislabs/oasis-core/issues/2498)) + ([#2498](https://github.com/oasisprotocol/oasis-core/issues/2498)) Ostensibly for faucet purposes while we run the rest of the network with transfers disabled, this lets us identify a whitelist of accounts from which @@ -1671,7 +1672,7 @@ The format is inspired by [Keep a Changelog]. object along with `"disable_transfers": true`. - Entity block signatures count tool - ([#2500](https://github.com/oasislabs/oasis-core/issues/2500)) + ([#2500](https://github.com/oasisprotocol/oasis-core/issues/2500)) The tool uses node consensus and registry API endpoints and computes the per entity block signature counts. @@ -1679,7 +1680,7 @@ The format is inspired by [Keep a Changelog]. ### Bug Fixes - Reduce Badger in-memory cache sizes - ([#2484](https://github.com/oasislabs/oasis-core/issues/2484)) + ([#2484](https://github.com/oasisprotocol/oasis-core/issues/2484)) The default is 1 GiB per badger instance and we use a few instances so this resulted in some nice memory usage. @@ -1689,7 +1690,7 @@ The format is inspired by [Keep a Changelog]. ### Process - Start using the new Versioning and Release process for Oasis Core. - ([#2419](https://github.com/oasislabs/oasis-core/issues/2419)) + ([#2419](https://github.com/oasisprotocol/oasis-core/issues/2419)) Adopt a [CalVer](http://calver.org) (calendar versioning) scheme for Oasis Core (as a whole) with the following format: @@ -1710,4 +1711,4 @@ The format is inspired by [Keep a Changelog]. The new Versioning and Release process will be described in more detail in the future. For more details, see [#2457]( - https://github.com/oasislabs/oasis-core/issues/2457). + https://github.com/oasisprotocol/oasis-core/issues/2457). diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 33944a9cd0a..9b5875cddcd 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -38,15 +38,15 @@ most effective at receiving input and making progress. If the feature is **small** - a change to a single piece of functionality, or an addition that can be expressed clearly and succinctly in a few sentences, then -the most appropriate place to propose it is as a [new Feature request]( -https://github.com/oasislabs/oasis-core/issues/new?template=feature_request.md) -in this repository. -Such issues will typically receive `p:3` priority in their initial triage. +the most appropriate place to propose it is as a [new Feature request] in this +repository. Such issues will typically receive `p:3` priority in their initial +triage. If the feature is **more complicated**, involves protocol changes, or has potential safety or performance implications, then first check with us whether it is something we are willing to consider and is in-scope for our project. + If the feedback is positive, then please draft an RFC and submit it as a pull request to our [RFCs repository](https://github.com/oasislabs/rfcs). This will allow a structured review and commenting of the proposed changes. @@ -55,6 +55,10 @@ You should aim to reach consensus before starting on implementation. *Note that we as project's maintainers still have the final word on what we will accept into the project.* + +[new Feature request]: https://github.com/oasisprotocol/oasis-core/issues/new?template=feature_request.md + + ## Bug Reports Bugs are a reality for any software project. We can't fix what we don't know @@ -63,20 +67,22 @@ about! If you believe a bug report presents a security risk, please follow [responsible disclosure](https://en.wikipedia.org/wiki/Responsible_disclosure) and report it directly to security@oasislabs.com instead of filing a public -issue or posting it to a public forum. -We will get back to you promptly. +issue or posting it to a public forum. We will get back to you promptly. + +Otherwise, please, first search between [existing issues in our repository] and +if the issue is not reported yet, [file a new one]. -Otherwise, please, first search between [existing issues in our repository]( -https://github.com/oasislabs/oasis-core/issues) and if the issue is not reported -yet, [file a new one]( -https://github.com/oasislabs/oasis-core/issues/new?template=bug_report.md). + +[existing issues in our repository]: https://github.com/oasisprotocol/oasis-core/issues +[file a new one]: https://github.com/oasisprotocol/oasis-core/issues/new?template=bug_report.md + ## Development ### Building Our development environment is documented in our [README]( -https://github.com/oasislabs/oasis-core/blob/master/README.md). +https://github.com/oasisprotocol/oasis-core/blob/master/README.md). ### Contributing Code @@ -208,7 +214,7 @@ import ( "github.com/opentracing/opentracing-go" // Internal imports. - "github.com/oasislabs/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" ) ``` diff --git a/Makefile b/Makefile index 12c1f270a32..4cc83e8befe 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,7 @@ build-tools: # NOTE: We epxplictly set CARGO_TARGET_DIR as a workaround to avoid # recompilations in newer cargo nightly builds. -# See https://github.com/oasislabs/oasis-core/pull/2673 for details. +# See https://github.com/oasisprotocol/oasis-core/pull/2673 for details. build-runtimes: @CARGO_TARGET_ROOT=$(shell pwd)/target && for e in $(RUNTIMES); do \ $(ECHO) "$(MAGENTA)*** Building runtime: $$e...$(OFF)"; \ diff --git a/README.md b/README.md index 31a2106e93c..0c1c8a61360 100644 --- a/README.md +++ b/README.md @@ -14,19 +14,19 @@ work around that and make the second (non-header) row also bold. --> [buildkite-badge]: https://badge.buildkite.com/15a8faccee0d5b5ab1af7e75eb6f9daf2d493c543fbc67dce5.svg?branch=master -[buildkite-link]: https://buildkite.com/oasislabs/oasis-core-ci -[github-ci-lint-badge]: https://github.com/oasislabs/oasis-core/workflows/ci-lint/badge.svg -[github-ci-lint-link]: https://github.com/oasislabs/oasis-core/actions?query=workflow:ci-lint -[github-ci-repr-badge]: https://github.com/oasislabs/oasis-core/workflows/ci-reproducibility/badge.svg -[github-ci-repr-link]: https://github.com/oasislabs/oasis-core/actions?query=workflow:ci-reproducibility -[github-release-badge]: https://github.com/oasislabs/oasis-core/workflows/release/badge.svg -[github-release-link]: https://github.com/oasislabs/oasis-core/actions?query=workflow:release -[codecov-badge]: https://codecov.io/gh/oasislabs/oasis-core/branch/master/graph/badge.svg -[codecov-link]: https://codecov.io/gh/oasislabs/oasis-core -[coveralls-badge]: https://coveralls.io/repos/github/oasislabs/oasis-core/badge.svg -[coveralls-link]: https://coveralls.io/github/oasislabs/oasis-core -[godoc-badge]: https://godoc.org/github.com/oasislabs/oasis-core?status.svg -[godoc-link]: https://godoc.org/github.com/oasislabs/oasis-core +[buildkite-link]: https://buildkite.com/oasisprotocol/oasis-core-ci +[github-ci-lint-badge]: https://github.com/oasisprotocol/oasis-core/workflows/ci-lint/badge.svg +[github-ci-lint-link]: https://github.com/oasisprotocol/oasis-core/actions?query=workflow:ci-lint +[github-ci-repr-badge]: https://github.com/oasisprotocol/oasis-core/workflows/ci-reproducibility/badge.svg +[github-ci-repr-link]: https://github.com/oasisprotocol/oasis-core/actions?query=workflow:ci-reproducibility +[github-release-badge]: https://github.com/oasisprotocol/oasis-core/workflows/release/badge.svg +[github-release-link]: https://github.com/oasisprotocol/oasis-core/actions?query=workflow:release +[codecov-badge]: https://codecov.io/gh/oasisprotocol/oasis-core/branch/master/graph/badge.svg +[codecov-link]: https://codecov.io/gh/oasisprotocol/oasis-core +[coveralls-badge]: https://coveralls.io/repos/github/oasisprotocol/oasis-core/badge.svg +[coveralls-link]: https://coveralls.io/github/oasisprotocol/oasis-core +[godoc-badge]: https://godoc.org/github.com/oasisprotocol/oasis-core?status.svg +[godoc-link]: https://godoc.org/github.com/oasisprotocol/oasis-core ## Note diff --git a/common.mk b/common.mk index aa46443634c..5e599d31632 100644 --- a/common.mk +++ b/common.mk @@ -32,7 +32,7 @@ define CONFIRM_ACTION = endef # Name of git remote pointing to the canonical upstream git repository, i.e. -# git@github.com:oasislabs/oasis-core.git. +# git@github.com:oasisprotocol/oasis-core.git. OASIS_CORE_GIT_ORIGIN_REMOTE ?= origin # Name of the branch where to tag the next release. @@ -92,7 +92,7 @@ GOFLAGS ?= -trimpath -v # Add Oasis Core's version as a linker string value definition. ifneq ($(VERSION),) - export GOLDFLAGS ?= "-X github.com/oasislabs/oasis-core/go/common/version.SoftwareVersion=$(VERSION) -X github.com/oasislabs/oasis-core/go/common/version.GitBranch=$(GIT_BRANCH)" + export GOLDFLAGS ?= "-X github.com/oasisprotocol/oasis-core/go/common/version.SoftwareVersion=$(VERSION) -X github.com/oasisprotocol/oasis-core/go/common/version.GitBranch=$(GIT_BRANCH)" endif # Go build command to use by default. @@ -155,7 +155,7 @@ the [Change Log] for **Removals and Breaking changes**.* If you would like to become a node operator for the Oasis Network, see the [Operator Docs](https://docs.oasis.dev/operators/overview.html). -[Change Log]: https://github.com/oasislabs/oasis-core/blob/v$(VERSION)/CHANGELOG.md +[Change Log]: https://github.com/oasisprotocol/oasis-core/blob/v$(VERSION)/CHANGELOG.md endef diff --git a/docs/authenticated-grpc.md b/docs/authenticated-grpc.md index d42e63d711a..559d3545681 100644 --- a/docs/authenticated-grpc.md +++ b/docs/authenticated-grpc.md @@ -38,7 +38,7 @@ For details on how certificate verification is performed see [registry service]: consensus/registry.md [consensus layer]: consensus/index.md -[signed node descriptor]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/common/node?tab=doc#Node +[signed node descriptor]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/common/node?tab=doc#Node [Ed25519 key pair]: crypto.md [the `VerifyCertificate` implementation]: ../go/common/crypto/tls/verify.go [`go/common/crypto/tls`]: ../go/common/crypto/tls @@ -64,7 +64,7 @@ files in various `api` packages). [CBOR]: encoding.md -[gRPC helpers]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/common/grpc?tab=doc +[gRPC helpers]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/common/grpc?tab=doc ### Errors diff --git a/docs/consensus/index.md b/docs/consensus/index.md index 29f6361b4be..679642b8195 100644 --- a/docs/consensus/index.md +++ b/docs/consensus/index.md @@ -38,7 +38,7 @@ consensus backend agnostic). [`go/consensus`]: ../../go/consensus [`go/consensus/api`]: ../../go/consensus/api -[consensus backend API documentation]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/consensus/api?tab=doc +[consensus backend API documentation]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/consensus/api?tab=doc [Tendermint]: https://tendermint.com/ [Epoch Time]: epochtime.md [Random Beacon]: beacon.md diff --git a/docs/consensus/keymanager.md b/docs/consensus/keymanager.md index 37de40b0141..0934e7acc24 100644 --- a/docs/consensus/keymanager.md +++ b/docs/consensus/keymanager.md @@ -10,7 +10,7 @@ the [consensus service API documentation]. [`go/keymanager/api`]: ../../go/keymanager/api -[consensus service API documentation]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/keymanager/api?tab=doc +[consensus service API documentation]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/keymanager/api?tab=doc ## Policies @@ -38,7 +38,7 @@ authorized public keys that can sign the policy are hardcoded in the key manager enclave. -[policy document]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/keymanager/api?tab=doc#PolicySGX +[policy document]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/keymanager/api?tab=doc#PolicySGX ## Methods @@ -60,8 +60,8 @@ a signed key manager access control policy. The signer of the transaction must be the key manager runtime's owning entity. -[`NewUpdatePolicyTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/keymanager/api?tab=doc#NewUpdatePolicyTx -[`SignedPolicySGX`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/keymanager/api?tab=doc#SignedPolicySGX +[`NewUpdatePolicyTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/keymanager/api?tab=doc#NewUpdatePolicyTx +[`SignedPolicySGX`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/keymanager/api?tab=doc#SignedPolicySGX ## Events diff --git a/docs/consensus/registry.md b/docs/consensus/registry.md index c51b2aa95ed..0d2a68c489d 100644 --- a/docs/consensus/registry.md +++ b/docs/consensus/registry.md @@ -9,7 +9,7 @@ the [consensus service API documentation]. [`go/registry/api`]: ../../go/registry/api -[consensus service API documentation]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/registry/api?tab=doc +[consensus service API documentation]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/registry/api?tab=doc ## Resources @@ -60,7 +60,7 @@ the future to enable runtimes to be self-governing. [runtime]: ../runtime/index.md -[the `Runtime` structure]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/registry/api?tab=doc#Runtime +[the `Runtime` structure]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/registry/api?tab=doc#Runtime ## Methods @@ -84,9 +84,9 @@ Registering an entity may require sufficient stake in the entity's [escrow account]. -[`NewRegisterEntityTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/registry/api?tab=doc#NewRegisterEntityTx -[`SignedEntity`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/common/entity?tab=doc#SignedEntity -[`Entity`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/common/entity?tab=doc#Entity +[`NewRegisterEntityTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/registry/api?tab=doc#NewRegisterEntityTx +[`SignedEntity`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/common/entity?tab=doc#SignedEntity +[`Entity`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/common/entity?tab=doc#Entity [signed envelope]: ../crypto.md#signed-envelope [escrow account]: staking.md#escrow @@ -109,7 +109,7 @@ _If an entity still has either nodes or runtimes registered, it is not possible to deregister an entity and such a transaction will fail._ -[`NewDeregisterEntityTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/registry/api?tab=doc#NewDeregisterEntityTx +[`NewDeregisterEntityTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/registry/api?tab=doc#NewDeregisterEntityTx ### Register Node @@ -142,11 +142,11 @@ Registering a node may require sufficient stake in the owning entity's [`Thresholds` in staking consensus parameters]). -[`NewRegisterNodeTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/registry/api?tab=doc#NewRegisterNodeTx -[`MultiSignedNode`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/common/node?tab=doc#MultiSignedNode -[`Node`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/common/node?tab=doc#Node +[`NewRegisterNodeTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/registry/api?tab=doc#NewRegisterNodeTx +[`MultiSignedNode`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/common/node?tab=doc#MultiSignedNode +[`Node`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/common/node?tab=doc#Node [multi-signed envelope]: ../crypto.md#multi-signed-envelope -[`Thresholds` in staking consensus parameters]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/staking/api?tab=doc#ConsensusParameters.Thresholds +[`Thresholds` in staking consensus parameters]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/staking/api?tab=doc#ConsensusParameters.Thresholds ### Unfreeze Node @@ -180,8 +180,8 @@ freeze period for any given attributable fault (e.g., double signing) is a consensus parameter (see [`Slashing` in staking consensus parameters]). -[`NewUnfreezeNodeTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/registry/api?tab=doc#NewUnfreezeNodeTx -[`Slashing` in staking consensus parameters]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/staking/api?tab=doc#ConsensusParameters.Slashing +[`NewUnfreezeNodeTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/registry/api?tab=doc#NewUnfreezeNodeTx +[`Slashing` in staking consensus parameters]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/staking/api?tab=doc#ConsensusParameters.Slashing ### Register Runtime @@ -203,9 +203,9 @@ Registering a runtime may require sufficient stake in the owning entity's [escrow account]. -[`NewRegisterRuntimeTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/registry/api?tab=doc#NewRegisterRuntimeTx -[`SignedRuntime`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/registry/api?tab=doc#SignedRuntime -[`Runtime`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/registry/api?tab=doc#Runtime +[`NewRegisterRuntimeTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/registry/api?tab=doc#NewRegisterRuntimeTx +[`SignedRuntime`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/registry/api?tab=doc#SignedRuntime +[`Runtime`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/registry/api?tab=doc#Runtime ## Events diff --git a/docs/consensus/roothash.md b/docs/consensus/roothash.md index 4d33b175273..625e98bafab 100644 --- a/docs/consensus/roothash.md +++ b/docs/consensus/roothash.md @@ -9,7 +9,7 @@ the [consensus service API documentation]. [`go/roothash/api`]: ../../go/roothash/api -[consensus service API documentation]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/roothash/api?tab=doc +[consensus service API documentation]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/roothash/api?tab=doc ## Methods @@ -41,9 +41,9 @@ type ExecutorCommit struct { * `commits` are the [executor commitments]. -[`NewExecutorCommitTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/roothash/api?tab=doc#NewExecutorCommitTx +[`NewExecutorCommitTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/roothash/api?tab=doc#NewExecutorCommitTx [runtime identifier]: ../runtime/identifiers.md -[executor commitments]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/roothash/api/commitment?tab=doc#ExecutorCommitment +[executor commitments]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/roothash/api/commitment?tab=doc#ExecutorCommitment ### Merge Commit @@ -73,8 +73,8 @@ type ExecutorCommit struct { * `commits` are the [merge commitments]. -[`NewMergeCommitTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/roothash/api?tab=doc#NewMergeCommitTx -[merge commitments]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/roothash/api/commitment?tab=doc#MergeCommitment +[`NewMergeCommitTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/roothash/api?tab=doc#NewMergeCommitTx +[merge commitments]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/roothash/api/commitment?tab=doc#MergeCommitment ## Events diff --git a/docs/consensus/scheduler.md b/docs/consensus/scheduler.md index 78bd0bb1f37..e99c951262a 100644 --- a/docs/consensus/scheduler.md +++ b/docs/consensus/scheduler.md @@ -12,7 +12,7 @@ the [consensus service API documentation]. [epoch-based time]: epochtime.md [random beacon]: beacon.md [`go/scheduler/api`]: ../../go/scheduler/api -[consensus service API documentation]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/scheduler/api?tab=doc +[consensus service API documentation]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/scheduler/api?tab=doc ## Events diff --git a/docs/consensus/staking.md b/docs/consensus/staking.md index d96813b893c..1cdf6550d5a 100644 --- a/docs/consensus/staking.md +++ b/docs/consensus/staking.md @@ -10,7 +10,7 @@ the [consensus service API documentation]. [`go/staking/api`]: ../../go/staking/api -[consensus service API documentation]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/staking/api?tab=doc +[consensus service API documentation]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/staking/api?tab=doc ## Test Vectors @@ -63,7 +63,7 @@ type Transfer struct { The transaction signer implicitly specifies the source account. -[`NewTransferTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/staking/api?tab=doc#NewTransferTx +[`NewTransferTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/staking/api?tab=doc#NewTransferTx ### Burn @@ -92,7 +92,7 @@ type Burn struct { The transaction signer implicitly specifies the caller's account. -[`NewBurnTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/staking/api?tab=doc#NewBurnTx +[`NewBurnTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/staking/api?tab=doc#NewBurnTx ### Add Escrow @@ -127,7 +127,7 @@ type Escrow struct { The transaction signer implicitly specifies the source account. -[`NewAddEscrowTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/staking/api?tab=doc#NewAddEscrowTx +[`NewAddEscrowTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/staking/api?tab=doc#NewAddEscrowTx ### Reclaim Escrow @@ -160,7 +160,7 @@ type ReclaimEscrow struct { The transaction signer implicitly specifies the destination account. -[`NewReclaimEscrowTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/staking/api?tab=doc#NewReclaimEscrowTx +[`NewReclaimEscrowTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/staking/api?tab=doc#NewReclaimEscrowTx ### Amend Commission Schedule @@ -190,7 +190,7 @@ type AmendCommissionSchedule struct { The transaction signer implicitly specifies the escrow account. -[`NewAmendCommissionScheduleTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/staking/api?tab=doc#NewAmendCommissionScheduleTx +[`NewAmendCommissionScheduleTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/staking/api?tab=doc#NewAmendCommissionScheduleTx ## Events diff --git a/docs/consensus/transactions.md b/docs/consensus/transactions.md index 5cbccffaac3..f97d157da46 100644 --- a/docs/consensus/transactions.md +++ b/docs/consensus/transactions.md @@ -11,7 +11,7 @@ you can also check out the [consensus backend API documentation]. [consensus backend]: index.md [`go/consensus/api/transaction`]: ../../go/consensus/api/transaction -[consensus backend API documentation]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/consensus/api/transaction?tab=doc +[consensus backend API documentation]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/consensus/api/transaction?tab=doc ## Format @@ -104,7 +104,7 @@ some kind of simulation of transaction execution to derive the maximum amount consumed by execution. -[`EstimateGas`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/consensus/api?tab=doc#ClientBackend.EstimateGas +[`EstimateGas`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/consensus/api?tab=doc#ClientBackend.EstimateGas [backend-specific]: index.md @@ -118,7 +118,7 @@ The consensus backend API provides a submission manager for cases where the It is available via the [`SignAndSubmitTx`] function. -[`SubmitTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/consensus/api?tab=doc#ClientBackend.SubmitTx +[`SubmitTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/consensus/api?tab=doc#ClientBackend.SubmitTx [signer]: ../crypto.md -[`SignAndSubmitTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/consensus/api?tab=doc#SignAndSubmitTx +[`SignAndSubmitTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/consensus/api?tab=doc#SignAndSubmitTx diff --git a/docs/oasis-node/rpc.md b/docs/oasis-node/rpc.md index 37fbb1b59c1..be63c68913f 100644 --- a/docs/oasis-node/rpc.md +++ b/docs/oasis-node/rpc.md @@ -29,7 +29,7 @@ by your local node at `/path/to/datadir/internal.sock` you can do: ```golang import ( - oasisGrpc "github.com/oasislabs/oasis-core/go/common/grpc" + oasisGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" ) // ... @@ -45,7 +45,7 @@ the gRPC helpers see the [API documentation]. [gRPC protocol]: https://grpc.io [CBOR codec (instead of Protocol Buffers)]: ../authenticated-grpc.md#cbor-codec [`client/src/transaction/api/client.rs`]: ../../client/src/transaction/api/client.rs -[API documentation]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/common/grpc?tab=doc +[API documentation]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/common/grpc?tab=doc ## Errors @@ -79,13 +79,13 @@ For more details about what the exposed services do see the respective documentation sections. -[Control]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/control/api?tab=doc#NodeController -[Consensus (client subset)]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/consensus/api?tab=doc#ClientBackend -[Consensus (light client subset)]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/consensus/api?tab=doc#LightClientBackend -[Staking]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/staking/api?tab=doc#Backend -[Registry]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/registry/api?tab=doc#Backend -[Scheduler]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/scheduler/api?tab=doc#Backend -[Storage]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/storage/api?tab=doc#Backend -[Runtime Client]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/runtime/client/api?tab=doc#RuntimeClient -[EnclaveRPC]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/runtime/enclaverpc/api?tab=doc#Transport +[Control]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/control/api?tab=doc#NodeController +[Consensus (client subset)]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/consensus/api?tab=doc#ClientBackend +[Consensus (light client subset)]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/consensus/api?tab=doc#LightClientBackend +[Staking]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/staking/api?tab=doc#Backend +[Registry]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/registry/api?tab=doc#Backend +[Scheduler]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/scheduler/api?tab=doc#Backend +[Storage]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/storage/api?tab=doc#Backend +[Runtime Client]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/runtime/client/api?tab=doc#RuntimeClient +[EnclaveRPC]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/runtime/enclaverpc/api?tab=doc#Transport diff --git a/docs/release-process.md b/docs/release-process.md index 60fb7151dce..50c0766e47e 100644 --- a/docs/release-process.md +++ b/docs/release-process.md @@ -116,10 +116,12 @@ checksums, and publish a GitHub Release that accompanies the versioned git tag. Browse to [Oasis Core's releases page] and make sure the new release is properly published. -[canonical git repository]: https://github.com/oasislabs/oasis-core + +[canonical git repository]: https://github.com/oasisprotocol/oasis-core [Release manager workflow]: ../.github/workflows/release.yml [GoReleaser]: https://goreleaser.com/ -[Oasis Core's releases page]: https://github.com/oasislabs/oasis-core/releases +[Oasis Core's releases page]: https://github.com/oasisprotocol/oasis-core/releases + ## Preparing a bugfix/stable release diff --git a/docs/runtime/identifiers.md b/docs/runtime/identifiers.md index 93118163e5a..405aaf07244 100644 --- a/docs/runtime/identifiers.md +++ b/docs/runtime/identifiers.md @@ -17,5 +17,5 @@ Note: Unless the registry consensus parameter `DebugAllowTestRuntimes` is set, attempts to register a test runtime will be rejected. -[`common.Namespace`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/common?tab=doc#Namespace +[`common.Namespace`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/common?tab=doc#Namespace diff --git a/docs/runtime/index.md b/docs/runtime/index.md index 6c6af894c98..eb021e0a6ed 100644 --- a/docs/runtime/index.md +++ b/docs/runtime/index.md @@ -94,7 +94,7 @@ consensus layer actually know that? [committee scheduler]: ../consensus/scheduler.md [random beacon]: ../consensus/beacon.md [client RPC API]: ../oasis-node/rpc.md -[`SubmitTx`]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/runtime/client/api?tab=doc#RuntimeClient.SubmitTx +[`SubmitTx`]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/runtime/client/api?tab=doc#RuntimeClient.SubmitTx [roothash service]: ../consensus/roothash.md diff --git a/docs/runtime/runtime-host-protocol.md b/docs/runtime/runtime-host-protocol.md index b30a8fe80aa..a2aec9b7d6f 100644 --- a/docs/runtime/runtime-host-protocol.md +++ b/docs/runtime/runtime-host-protocol.md @@ -31,7 +31,7 @@ Maximum allowed message size is 104857600 bytes. See the [API reference] for a list of all supported messages. -[API reference]: https://pkg.go.dev/github.com/oasislabs/oasis-core/go/worker/common/host/protocol?tab=doc#Body +[API reference]: https://pkg.go.dev/github.com/oasisprotocol/oasis-core/go/worker/common/host/protocol?tab=doc#Body ## Operation diff --git a/go/Makefile b/go/Makefile index cd0678ec2a6..bab6ff8a3b8 100644 --- a/go/Makefile +++ b/go/Makefile @@ -63,11 +63,11 @@ test-targets := test-unit test-node test-unit: @$(ECHO) "$(CYAN)*** Running Go unit tests...$(OFF)" @$(GO) test -timeout 5m -race -v $(GO_TEST_FLAGS) \ - $$($(GO) list ./... | grep --invert-match github.com/oasislabs/oasis-core/go/oasis-node) + $$($(GO) list ./... | grep --invert-match github.com/oasisprotocol/oasis-core/go/oasis-node) test-node: @$(ECHO) "$(CYAN)*** Running Go node tests...$(OFF)" - @$(GO) test -timeout 5m -race -v $(GO_TEST_FLAGS) github.com/oasislabs/oasis-core/go/oasis-node/... + @$(GO) test -timeout 5m -race -v $(GO_TEST_FLAGS) github.com/oasisprotocol/oasis-core/go/oasis-node/... test: $(test-targets) diff --git a/go/beacon/api/api.go b/go/beacon/api/api.go index 2f2dd94ecaf..772a4da268e 100644 --- a/go/beacon/api/api.go +++ b/go/beacon/api/api.go @@ -5,8 +5,8 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" ) const ( diff --git a/go/beacon/tests/tester.go b/go/beacon/tests/tester.go index e5d68f50ff9..3fc1e44d330 100644 --- a/go/beacon/tests/tester.go +++ b/go/beacon/tests/tester.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/beacon/api" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - epochtimeTests "github.com/oasislabs/oasis-core/go/epochtime/tests" + "github.com/oasisprotocol/oasis-core/go/beacon/api" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + epochtimeTests "github.com/oasisprotocol/oasis-core/go/epochtime/tests" ) // BeaconImplementationTests exercises the basic functionality of a diff --git a/go/common/accessctl/accessctl.go b/go/common/accessctl/accessctl.go index 4f8ceac47d3..913fff4d8b4 100644 --- a/go/common/accessctl/accessctl.go +++ b/go/common/accessctl/accessctl.go @@ -6,7 +6,7 @@ import ( "crypto/x509" "fmt" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) // Subject is an access control subject. diff --git a/go/common/accessctl/accessctl_test.go b/go/common/accessctl/accessctl_test.go index e270abe2ade..efc933adf16 100644 --- a/go/common/accessctl/accessctl_test.go +++ b/go/common/accessctl/accessctl_test.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/identity" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/identity" ) func TestPolicy(t *testing.T) { diff --git a/go/common/badger/helpers.go b/go/common/badger/helpers.go index 882585d27d8..d5d9714f684 100644 --- a/go/common/badger/helpers.go +++ b/go/common/badger/helpers.go @@ -9,7 +9,7 @@ import ( "github.com/dgraph-io/badger/v2" - "github.com/oasislabs/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/logging" ) const ( diff --git a/go/common/crash/crash.go b/go/common/crash/crash.go index 4f4aac654e8..cd651089415 100644 --- a/go/common/crash/crash.go +++ b/go/common/crash/crash.go @@ -11,9 +11,9 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/random" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/random" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" ) var testForceEnable bool diff --git a/go/common/crypto/hash/hash.go b/go/common/crypto/hash/hash.go index 71d1e8b08ff..225d723c04d 100644 --- a/go/common/crypto/hash/hash.go +++ b/go/common/crypto/hash/hash.go @@ -10,7 +10,7 @@ import ( "errors" "hash" - "github.com/oasislabs/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/cbor" ) // Size is the size of the cryptographic hash in bytes. diff --git a/go/common/crypto/mathrand/rand_test.go b/go/common/crypto/mathrand/rand_test.go index 3f53a64b3e2..4d2b13dd725 100644 --- a/go/common/crypto/mathrand/rand_test.go +++ b/go/common/crypto/mathrand/rand_test.go @@ -5,7 +5,7 @@ import ( "math/rand" "testing" - "github.com/oasislabs/oasis-core/go/common/crypto/drbg" + "github.com/oasisprotocol/oasis-core/go/common/crypto/drbg" "github.com/stretchr/testify/require" ) diff --git a/go/common/crypto/mrae/deoxysii/asymmetric.go b/go/common/crypto/mrae/deoxysii/asymmetric.go index ec57c84e265..c0c0898bb76 100644 --- a/go/common/crypto/mrae/deoxysii/asymmetric.go +++ b/go/common/crypto/mrae/deoxysii/asymmetric.go @@ -6,7 +6,7 @@ import ( "github.com/oasisprotocol/deoxysii" - "github.com/oasislabs/oasis-core/go/common/crypto/mrae/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/mrae/api" ) var ( diff --git a/go/common/crypto/mrae/deoxysii/asymmetric_test.go b/go/common/crypto/mrae/deoxysii/asymmetric_test.go index b0c00fa96ee..9759628ebbb 100644 --- a/go/common/crypto/mrae/deoxysii/asymmetric_test.go +++ b/go/common/crypto/mrae/deoxysii/asymmetric_test.go @@ -3,8 +3,8 @@ package deoxysii import ( "testing" - "github.com/oasislabs/oasis-core/go/common/crypto/mrae/api" "github.com/oasisprotocol/deoxysii" + "github.com/oasisprotocol/oasis-core/go/common/crypto/mrae/api" ) func TestDeoxysII_Box_Integration(t *testing.T) { diff --git a/go/common/crypto/signature/signature.go b/go/common/crypto/signature/signature.go index 8622349816f..0826b9e4e43 100644 --- a/go/common/crypto/signature/signature.go +++ b/go/common/crypto/signature/signature.go @@ -18,10 +18,10 @@ import ( "github.com/oasisprotocol/ed25519" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/pem" - "github.com/oasislabs/oasis-core/go/common/prettyprint" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/pem" + "github.com/oasisprotocol/oasis-core/go/common/prettyprint" ) const ( diff --git a/go/common/crypto/signature/signers/composite/composite_signer.go b/go/common/crypto/signature/signers/composite/composite_signer.go index e6a7d1b4613..ce9e1838999 100644 --- a/go/common/crypto/signature/signers/composite/composite_signer.go +++ b/go/common/crypto/signature/signers/composite/composite_signer.go @@ -5,7 +5,7 @@ import ( "errors" "io" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) // SignerName is the name used to identify the composite signer. diff --git a/go/common/crypto/signature/signers/composite/composite_signer_test.go b/go/common/crypto/signature/signers/composite/composite_signer_test.go index 1a63be81fa5..61c6e0ff53a 100644 --- a/go/common/crypto/signature/signers/composite/composite_signer_test.go +++ b/go/common/crypto/signature/signers/composite/composite_signer_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" ) func TestCompositeSigner(t *testing.T) { diff --git a/go/common/crypto/signature/signers/file/file_signer.go b/go/common/crypto/signature/signers/file/file_signer.go index 388e76fad54..306cf50cc0d 100644 --- a/go/common/crypto/signature/signers/file/file_signer.go +++ b/go/common/crypto/signature/signers/file/file_signer.go @@ -11,8 +11,8 @@ import ( "github.com/oasisprotocol/ed25519" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/pem" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/pem" ) const ( diff --git a/go/common/crypto/signature/signers/file/file_signer_test.go b/go/common/crypto/signature/signers/file/file_signer_test.go index 6fc610b785e..3561a620cbc 100644 --- a/go/common/crypto/signature/signers/file/file_signer_test.go +++ b/go/common/crypto/signature/signers/file/file_signer_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) func TestFileSigner(t *testing.T) { diff --git a/go/common/crypto/signature/signers/ledger/ledger_signer.go b/go/common/crypto/signature/signers/ledger/ledger_signer.go index 77efcab43d8..b293842a86d 100644 --- a/go/common/crypto/signature/signers/ledger/ledger_signer.go +++ b/go/common/crypto/signature/signers/ledger/ledger_signer.go @@ -5,8 +5,8 @@ import ( "fmt" "io" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - ledgerCommon "github.com/oasislabs/oasis-core/go/common/ledger" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + ledgerCommon "github.com/oasisprotocol/oasis-core/go/common/ledger" ) const ( diff --git a/go/common/crypto/signature/signers/memory/memory_signer.go b/go/common/crypto/signature/signers/memory/memory_signer.go index 924d841ddb1..cbc28751529 100644 --- a/go/common/crypto/signature/signers/memory/memory_signer.go +++ b/go/common/crypto/signature/signers/memory/memory_signer.go @@ -8,7 +8,7 @@ import ( "github.com/oasisprotocol/ed25519" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) // SignerName is the name used to identify the memory backed signer. diff --git a/go/common/crypto/signature/signers/remote/grpc.go b/go/common/crypto/signature/signers/remote/grpc.go index 8662deba630..17118d09a1d 100644 --- a/go/common/crypto/signature/signers/remote/grpc.go +++ b/go/common/crypto/signature/signers/remote/grpc.go @@ -11,8 +11,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" ) // SignerName is the name used to identify the remote signer. diff --git a/go/common/crypto/tls/verify.go b/go/common/crypto/tls/verify.go index 6197103704a..55927420366 100644 --- a/go/common/crypto/tls/verify.go +++ b/go/common/crypto/tls/verify.go @@ -6,7 +6,7 @@ import ( "fmt" "time" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) // VerifyOptions are the certificate verification options. diff --git a/go/common/crypto/tls/verify_test.go b/go/common/crypto/tls/verify_test.go index a21bef73c4b..1b41f0def43 100644 --- a/go/common/crypto/tls/verify_test.go +++ b/go/common/crypto/tls/verify_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" ) func TestVerifyCertificate(t *testing.T) { diff --git a/go/common/entity/entity.go b/go/common/entity/entity.go index 463d214de40..3a9ff7be035 100644 --- a/go/common/entity/entity.go +++ b/go/common/entity/entity.go @@ -9,10 +9,10 @@ import ( "io/ioutil" "path/filepath" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/prettyprint" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/prettyprint" ) const ( diff --git a/go/common/grpc/auth/auth_test.go b/go/common/grpc/auth/auth_test.go index 1b3b804068f..e9d6625ca63 100644 --- a/go/common/grpc/auth/auth_test.go +++ b/go/common/grpc/auth/auth_test.go @@ -11,9 +11,9 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - commonGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/grpc/auth" - commonTesting "github.com/oasislabs/oasis-core/go/common/grpc/testing" + commonGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/grpc/auth" + commonTesting "github.com/oasisprotocol/oasis-core/go/common/grpc/testing" ) const ( diff --git a/go/common/grpc/auth/auth_tls.go b/go/common/grpc/auth/auth_tls.go index aae43c08d25..92ac4aa4ef9 100644 --- a/go/common/grpc/auth/auth_tls.go +++ b/go/common/grpc/auth/auth_tls.go @@ -11,7 +11,7 @@ import ( "google.golang.org/grpc/peer" "google.golang.org/grpc/status" - "github.com/oasislabs/oasis-core/go/common/accessctl" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" ) // PeerCertAuthenticator is a server side gRPC authentication function diff --git a/go/common/grpc/cbor.go b/go/common/grpc/cbor.go index 830dd80345b..1143a426e0c 100644 --- a/go/common/grpc/cbor.go +++ b/go/common/grpc/cbor.go @@ -3,7 +3,7 @@ package grpc import ( "google.golang.org/grpc/encoding" - "github.com/oasislabs/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/cbor" ) // cborCodecName is the name of the CBOR gRPC codec. diff --git a/go/common/grpc/credentials.go b/go/common/grpc/credentials.go index c18244eebff..894c38ee77b 100644 --- a/go/common/grpc/credentials.go +++ b/go/common/grpc/credentials.go @@ -6,8 +6,8 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/security/advancedtls" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - cmnTLS "github.com/oasislabs/oasis-core/go/common/crypto/tls" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + cmnTLS "github.com/oasisprotocol/oasis-core/go/common/crypto/tls" ) // ClientOptions contains all the fields needed to configure a TLS client. diff --git a/go/common/grpc/errors.go b/go/common/grpc/errors.go index 650ff6f972a..30470081d09 100644 --- a/go/common/grpc/errors.go +++ b/go/common/grpc/errors.go @@ -8,8 +8,8 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/status" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/errors" ) // grpcError is a serializable error. diff --git a/go/common/grpc/errors_test.go b/go/common/grpc/errors_test.go index 078df5997c0..f233ba47bf0 100644 --- a/go/common/grpc/errors_test.go +++ b/go/common/grpc/errors_test.go @@ -9,7 +9,7 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/errors" ) var errTest = errors.New("test/grpc/errors", 1, "just testing errors") diff --git a/go/common/grpc/grpc.go b/go/common/grpc/grpc.go index ee489faa0eb..548d5b5b0d9 100644 --- a/go/common/grpc/grpc.go +++ b/go/common/grpc/grpc.go @@ -23,11 +23,11 @@ import ( "google.golang.org/grpc/grpclog" "google.golang.org/grpc/keepalive" - cmnTLS "github.com/oasislabs/oasis-core/go/common/crypto/tls" - "github.com/oasislabs/oasis-core/go/common/grpc/auth" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/service" + cmnTLS "github.com/oasisprotocol/oasis-core/go/common/crypto/tls" + "github.com/oasisprotocol/oasis-core/go/common/grpc/auth" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/service" ) const ( diff --git a/go/common/grpc/policy/api/api.go b/go/common/grpc/policy/api/api.go index f86577556f1..089814d6172 100644 --- a/go/common/grpc/policy/api/api.go +++ b/go/common/grpc/policy/api/api.go @@ -9,10 +9,10 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/peer" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/accessctl" - "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" + "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" ) const ( diff --git a/go/common/grpc/policy/api/grpc.go b/go/common/grpc/policy/api/grpc.go index f0e664cb967..7c505ab261c 100644 --- a/go/common/grpc/policy/api/grpc.go +++ b/go/common/grpc/policy/api/grpc.go @@ -5,8 +5,8 @@ import ( "google.golang.org/grpc" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/pubsub" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" ) var ( diff --git a/go/common/grpc/policy/policy.go b/go/common/grpc/policy/policy.go index cb152b795e1..5cc0501c8eb 100644 --- a/go/common/grpc/policy/policy.go +++ b/go/common/grpc/policy/policy.go @@ -11,11 +11,11 @@ import ( "google.golang.org/grpc/peer" "google.golang.org/grpc/status" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/accessctl" - "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/grpc/auth" - "github.com/oasislabs/oasis-core/go/common/grpc/policy/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" + "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/grpc/auth" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy/api" ) var ( diff --git a/go/common/grpc/policy/policy_test.go b/go/common/grpc/policy/policy_test.go index d0b79bf9bf8..c4e1da5492c 100644 --- a/go/common/grpc/policy/policy_test.go +++ b/go/common/grpc/policy/policy_test.go @@ -14,13 +14,13 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/status" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/accessctl" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/grpc/policy" - "github.com/oasislabs/oasis-core/go/common/grpc/policy/api" - cmnTesting "github.com/oasislabs/oasis-core/go/common/grpc/testing" - "github.com/oasislabs/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy/api" + cmnTesting "github.com/oasisprotocol/oasis-core/go/common/grpc/testing" + "github.com/oasisprotocol/oasis-core/go/common/identity" ) var testNs = common.NewTestNamespaceFromSeed([]byte("oasis common grpc policy test ns"), 0) diff --git a/go/common/grpc/policy/watcher.go b/go/common/grpc/policy/watcher.go index 3fc3ce017b4..bd62d95945d 100644 --- a/go/common/grpc/policy/watcher.go +++ b/go/common/grpc/policy/watcher.go @@ -3,11 +3,11 @@ package policy import ( "context" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/accessctl" - "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/grpc/policy/api" - "github.com/oasislabs/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" + "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy/api" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" ) var _ api.PolicyWatcher = (*policyWatcher)(nil) diff --git a/go/common/grpc/proxy/proxy.go b/go/common/grpc/proxy/proxy.go index 59f0b4a5291..9db125b28d9 100644 --- a/go/common/grpc/proxy/proxy.go +++ b/go/common/grpc/proxy/proxy.go @@ -13,9 +13,9 @@ import ( "google.golang.org/grpc/metadata" "google.golang.org/grpc/status" - "github.com/oasislabs/oasis-core/go/common/cbor" - policy "github.com/oasislabs/oasis-core/go/common/grpc/policy/api" - "github.com/oasislabs/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + policy "github.com/oasisprotocol/oasis-core/go/common/grpc/policy/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" ) // Dialer should return a gRPC ClientConn that will be used diff --git a/go/common/grpc/proxy/proxy_test.go b/go/common/grpc/proxy/proxy_test.go index 59a3f0677a1..ee12bd66767 100644 --- a/go/common/grpc/proxy/proxy_test.go +++ b/go/common/grpc/proxy/proxy_test.go @@ -14,10 +14,10 @@ import ( "google.golang.org/grpc/credentials" "google.golang.org/grpc/status" - commonGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/grpc/auth" - cmnTesting "github.com/oasislabs/oasis-core/go/common/grpc/testing" - "github.com/oasislabs/oasis-core/go/common/identity" + commonGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/grpc/auth" + cmnTesting "github.com/oasisprotocol/oasis-core/go/common/grpc/testing" + "github.com/oasisprotocol/oasis-core/go/common/identity" ) const ( diff --git a/go/common/grpc/service.go b/go/common/grpc/service.go index ade99f0f6d6..a9244697066 100644 --- a/go/common/grpc/service.go +++ b/go/common/grpc/service.go @@ -7,8 +7,8 @@ import ( "strings" "sync" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" ) // ServicePrefix is a prefix given to all gRPC services defined by oasis-core. diff --git a/go/common/grpc/testing/ping.go b/go/common/grpc/testing/ping.go index 91665426c36..b805f4c2a09 100644 --- a/go/common/grpc/testing/ping.go +++ b/go/common/grpc/testing/ping.go @@ -14,12 +14,12 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/grpc/auth" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/grpc/auth" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" ) var ( diff --git a/go/common/identity/identity.go b/go/common/identity/identity.go index b044fda3197..45cfbb78797 100644 --- a/go/common/identity/identity.go +++ b/go/common/identity/identity.go @@ -8,11 +8,11 @@ import ( "path/filepath" "sync" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - tlsCert "github.com/oasislabs/oasis-core/go/common/crypto/tls" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + tlsCert "github.com/oasisprotocol/oasis-core/go/common/crypto/tls" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" ) const ( diff --git a/go/common/identity/identity_test.go b/go/common/identity/identity_test.go index 834d6013e3d..e7944264ed8 100644 --- a/go/common/identity/identity_test.go +++ b/go/common/identity/identity_test.go @@ -7,8 +7,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" ) func TestLoadOrGenerate(t *testing.T) { diff --git a/go/common/keyformat/hashed.go b/go/common/keyformat/hashed.go index 3ab202d6764..c215a97ed24 100644 --- a/go/common/keyformat/hashed.go +++ b/go/common/keyformat/hashed.go @@ -4,7 +4,7 @@ import ( "encoding" "fmt" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" ) // PreHashed represents a pre-hashed value that will be encoded without additional hashing when used diff --git a/go/common/keyformat/hashed_test.go b/go/common/keyformat/hashed_test.go index 94729e1fe59..b5d7135abb1 100644 --- a/go/common/keyformat/hashed_test.go +++ b/go/common/keyformat/hashed_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) func TestHashed(t *testing.T) { diff --git a/go/common/keyformat/key_format_test.go b/go/common/keyformat/key_format_test.go index 11dcd665438..020429e755c 100644 --- a/go/common/keyformat/key_format_test.go +++ b/go/common/keyformat/key_format_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) func TestKeyFormat(t *testing.T) { diff --git a/go/common/namespace.go b/go/common/namespace.go index 5f19e006158..c3d8e179767 100644 --- a/go/common/namespace.go +++ b/go/common/namespace.go @@ -8,7 +8,7 @@ import ( "encoding/hex" "errors" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" ) const ( diff --git a/go/common/node/address.go b/go/common/node/address.go index 7f295b0f67c..df5787fa5b5 100644 --- a/go/common/node/address.go +++ b/go/common/node/address.go @@ -7,7 +7,7 @@ import ( "net" "strings" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) var ( diff --git a/go/common/node/node.go b/go/common/node/node.go index ab46e18c9b6..c7c6085c1bf 100644 --- a/go/common/node/node.go +++ b/go/common/node/node.go @@ -10,13 +10,13 @@ import ( "strings" "time" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/prettyprint" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" - "github.com/oasislabs/oasis-core/go/common/version" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/prettyprint" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/common/version" ) var ( diff --git a/go/common/node/node_test.go b/go/common/node/node_test.go index fe35a694c2a..bf48b634b32 100644 --- a/go/common/node/node_test.go +++ b/go/common/node/node_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common" ) func TestNodeDescriptor(t *testing.T) { diff --git a/go/common/persistent/persistent.go b/go/common/persistent/persistent.go index 8299e151d26..41007780aa9 100644 --- a/go/common/persistent/persistent.go +++ b/go/common/persistent/persistent.go @@ -11,9 +11,9 @@ import ( "github.com/dgraph-io/badger/v2" "github.com/dgraph-io/badger/v2/options" - cmnBadger "github.com/oasislabs/oasis-core/go/common/badger" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/logging" + cmnBadger "github.com/oasisprotocol/oasis-core/go/common/badger" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/logging" ) const dbName = "persistent-store.badger.db" diff --git a/go/common/service/service.go b/go/common/service/service.go index 80e388b0d26..81b1e67f416 100644 --- a/go/common/service/service.go +++ b/go/common/service/service.go @@ -4,7 +4,7 @@ package service import ( "context" - "github.com/oasislabs/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/logging" ) // CleanupAble provides a Cleanup method. diff --git a/go/common/sgx/aesm/aesm.go b/go/common/sgx/aesm/aesm.go index cca5cc1eff0..16ff0b49ddb 100644 --- a/go/common/sgx/aesm/aesm.go +++ b/go/common/sgx/aesm/aesm.go @@ -12,7 +12,7 @@ import ( "google.golang.org/protobuf/proto" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" ) //go:generate protoc --go_out=. aesm_proto.proto diff --git a/go/common/sgx/fortanix_dummy.go b/go/common/sgx/fortanix_dummy.go index 4c117d77214..871c614361a 100644 --- a/go/common/sgx/fortanix_dummy.go +++ b/go/common/sgx/fortanix_dummy.go @@ -5,7 +5,7 @@ import ( "crypto/x509" "encoding/pem" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" ) var ( diff --git a/go/common/sgx/ias/avr.go b/go/common/sgx/ias/avr.go index a18a2f9a784..241d3f59c8d 100644 --- a/go/common/sgx/ias/avr.go +++ b/go/common/sgx/ias/avr.go @@ -11,7 +11,7 @@ import ( "net/url" "time" - "github.com/oasislabs/oasis-core/go/common/sgx" + "github.com/oasisprotocol/oasis-core/go/common/sgx" ) // NonceMaxLen is the maximum length of the AVR nonce. diff --git a/go/common/sgx/ias/quote.go b/go/common/sgx/ias/quote.go index 7dcae46532f..c089cbc2fff 100644 --- a/go/common/sgx/ias/quote.go +++ b/go/common/sgx/ias/quote.go @@ -4,7 +4,7 @@ import ( "encoding/binary" "fmt" - "github.com/oasislabs/oasis-core/go/common/sgx" + "github.com/oasisprotocol/oasis-core/go/common/sgx" ) const ( diff --git a/go/common/sgx/sigstruct/debug_builder.go b/go/common/sgx/sigstruct/debug_builder.go index a9d1e0e5316..28399238d6b 100644 --- a/go/common/sgx/sigstruct/debug_builder.go +++ b/go/common/sgx/sigstruct/debug_builder.go @@ -3,7 +3,7 @@ package sigstruct import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/sgx" + "github.com/oasisprotocol/oasis-core/go/common/sgx" ) // UnsafeDebugForEnclave returns the SIGSTRUCT corresponding to the provided diff --git a/go/common/sgx/sigstruct/sigstruct.go b/go/common/sgx/sigstruct/sigstruct.go index 38c069fe1d2..5188f0a4588 100644 --- a/go/common/sgx/sigstruct/sigstruct.go +++ b/go/common/sgx/sigstruct/sigstruct.go @@ -11,7 +11,7 @@ import ( "math/big" "time" - "github.com/oasislabs/oasis-core/go/common/sgx" + "github.com/oasisprotocol/oasis-core/go/common/sgx" ) const ( diff --git a/go/common/sgx/sigstruct/sigstruct_test.go b/go/common/sgx/sigstruct/sigstruct_test.go index bd50805ea77..c8b070e5f62 100644 --- a/go/common/sgx/sigstruct/sigstruct_test.go +++ b/go/common/sgx/sigstruct/sigstruct_test.go @@ -10,7 +10,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/sgx" + "github.com/oasisprotocol/oasis-core/go/common/sgx" ) func TestSigstruct(t *testing.T) { diff --git a/go/common/testing/e2e_coverage.go b/go/common/testing/e2e_coverage.go index fe7637ca45e..78c5d08f3fe 100644 --- a/go/common/testing/e2e_coverage.go +++ b/go/common/testing/e2e_coverage.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common" ) // RunMain runs the specified main function inside unit tests. This is usually used in E2E coverage diff --git a/go/common/workerpool/workerpool.go b/go/common/workerpool/workerpool.go index cbed724e3fd..9699fc8e944 100644 --- a/go/common/workerpool/workerpool.go +++ b/go/common/workerpool/workerpool.go @@ -7,7 +7,7 @@ import ( "github.com/eapache/channels" - "github.com/oasislabs/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/logging" ) type jobDescriptor struct { diff --git a/go/consensus/api/api.go b/go/consensus/api/api.go index 7073a8a2aa1..7102badf872 100644 --- a/go/consensus/api/api.go +++ b/go/consensus/api/api.go @@ -6,20 +6,20 @@ import ( "context" "time" - beacon "github.com/oasislabs/oasis-core/go/beacon/api" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + beacon "github.com/oasisprotocol/oasis-core/go/beacon/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const ( diff --git a/go/consensus/api/grpc.go b/go/consensus/api/grpc.go index 4c0a86b8caf..7b35bc116a5 100644 --- a/go/consensus/api/grpc.go +++ b/go/consensus/api/grpc.go @@ -5,11 +5,11 @@ import ( "google.golang.org/grpc" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" ) var ( diff --git a/go/consensus/api/submission.go b/go/consensus/api/submission.go index 682dc58c2dd..7b41857b39c 100644 --- a/go/consensus/api/submission.go +++ b/go/consensus/api/submission.go @@ -7,11 +7,11 @@ import ( "github.com/cenkalti/backoff/v4" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" ) const ( diff --git a/go/consensus/api/transaction/gas.go b/go/consensus/api/transaction/gas.go index 6cb294d2bcd..317ce692e24 100644 --- a/go/consensus/api/transaction/gas.go +++ b/go/consensus/api/transaction/gas.go @@ -1,8 +1,8 @@ package transaction import ( - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/quantity" ) var ( diff --git a/go/consensus/api/transaction/gas_test.go b/go/consensus/api/transaction/gas_test.go index c6e274d3a57..b27df4d74cc 100644 --- a/go/consensus/api/transaction/gas_test.go +++ b/go/consensus/api/transaction/gas_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/common/quantity" ) func TestFeeGasPrice(t *testing.T) { diff --git a/go/consensus/api/transaction/transaction.go b/go/consensus/api/transaction/transaction.go index ab57254b6a0..f4373891949 100644 --- a/go/consensus/api/transaction/transaction.go +++ b/go/consensus/api/transaction/transaction.go @@ -8,11 +8,11 @@ import ( "reflect" "sync" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/prettyprint" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/prettyprint" ) // moduleName is the module name used for error definitions. diff --git a/go/consensus/genesis/genesis.go b/go/consensus/genesis/genesis.go index 0b20f2faa71..0c123c6696d 100644 --- a/go/consensus/genesis/genesis.go +++ b/go/consensus/genesis/genesis.go @@ -5,8 +5,8 @@ import ( "fmt" "time" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" ) // Genesis contains various consensus config flags that should be part of the genesis state. diff --git a/go/consensus/tendermint/abci/mux.go b/go/consensus/tendermint/abci/mux.go index 5380b9f313b..fb6d4c4b784 100644 --- a/go/consensus/tendermint/abci/mux.go +++ b/go/consensus/tendermint/abci/mux.go @@ -17,21 +17,21 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/version" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - consensusGenesis "github.com/oasislabs/oasis-core/go/consensus/genesis" - abciState "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci/state" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - upgrade "github.com/oasislabs/oasis-core/go/upgrade/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/version" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + consensusGenesis "github.com/oasisprotocol/oasis-core/go/consensus/genesis" + abciState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci/state" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + upgrade "github.com/oasisprotocol/oasis-core/go/upgrade/api" ) const ( diff --git a/go/consensus/tendermint/abci/mux_mock.go b/go/consensus/tendermint/abci/mux_mock.go index e3566098a69..ecb003a0f7e 100644 --- a/go/consensus/tendermint/abci/mux_mock.go +++ b/go/consensus/tendermint/abci/mux_mock.go @@ -3,8 +3,8 @@ package abci import ( "context" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - upgrade "github.com/oasislabs/oasis-core/go/upgrade/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + upgrade "github.com/oasisprotocol/oasis-core/go/upgrade/api" ) // MockABCIMux exports some of the muxer's internal methods for testing use. diff --git a/go/consensus/tendermint/abci/prune.go b/go/consensus/tendermint/abci/prune.go index e6c9e3d7c9a..37f39129783 100644 --- a/go/consensus/tendermint/abci/prune.go +++ b/go/consensus/tendermint/abci/prune.go @@ -6,8 +6,8 @@ import ( "strings" "sync" - "github.com/oasislabs/oasis-core/go/common/logging" - nodedb "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + nodedb "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" ) const ( diff --git a/go/consensus/tendermint/abci/prune_test.go b/go/consensus/tendermint/abci/prune_test.go index 91ceaeaf0be..41c5d8fa729 100644 --- a/go/consensus/tendermint/abci/prune_test.go +++ b/go/consensus/tendermint/abci/prune_test.go @@ -9,11 +9,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs" - mkvsDB "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - mkvsBadgerDB "github.com/oasislabs/oasis-core/go/storage/mkvs/db/badger" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" + mkvsDB "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + mkvsBadgerDB "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/badger" ) func TestPruneKeepN(t *testing.T) { diff --git a/go/consensus/tendermint/abci/state.go b/go/consensus/tendermint/abci/state.go index 07ed38730ef..05daae7a954 100644 --- a/go/consensus/tendermint/abci/state.go +++ b/go/consensus/tendermint/abci/state.go @@ -12,19 +12,19 @@ import ( "github.com/eapache/channels" "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/quantity" - consensusGenesis "github.com/oasislabs/oasis-core/go/consensus/genesis" - abciState "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci/state" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - storage "github.com/oasislabs/oasis-core/go/storage/api" - storageDB "github.com/oasislabs/oasis-core/go/storage/database" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + consensusGenesis "github.com/oasisprotocol/oasis-core/go/consensus/genesis" + abciState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci/state" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + storageDB "github.com/oasisprotocol/oasis-core/go/storage/database" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) var _ api.ApplicationState = (*applicationState)(nil) diff --git a/go/consensus/tendermint/abci/state/state.go b/go/consensus/tendermint/abci/state/state.go index 75480bbbb66..575031599a0 100644 --- a/go/consensus/tendermint/abci/state/state.go +++ b/go/consensus/tendermint/abci/state/state.go @@ -4,11 +4,11 @@ import ( "context" "errors" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/keyformat" - consensusGenesis "github.com/oasislabs/oasis-core/go/consensus/genesis" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + consensusGenesis "github.com/oasisprotocol/oasis-core/go/consensus/genesis" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) var ( diff --git a/go/consensus/tendermint/abci/timer.go b/go/consensus/tendermint/abci/timer.go index 076ba3f2c61..67c395fbb43 100644 --- a/go/consensus/tendermint/abci/timer.go +++ b/go/consensus/tendermint/abci/timer.go @@ -5,10 +5,10 @@ import ( "fmt" "time" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/keyformat" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" ) // deadlineDisarmed is a special deadline value for disarmed timers. diff --git a/go/consensus/tendermint/api/api.go b/go/consensus/tendermint/api/api.go index 866bc80e8ae..9f9f8d79af5 100644 --- a/go/consensus/tendermint/api/api.go +++ b/go/consensus/tendermint/api/api.go @@ -12,11 +12,11 @@ import ( tmp2p "github.com/tendermint/tendermint/p2p" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/node" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/node" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" ) // BackendName is the consensus backend name. diff --git a/go/consensus/tendermint/api/context.go b/go/consensus/tendermint/api/context.go index d07fd90c7cc..8d14d23eec2 100644 --- a/go/consensus/tendermint/api/context.go +++ b/go/consensus/tendermint/api/context.go @@ -8,9 +8,9 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) type contextKey struct{} diff --git a/go/consensus/tendermint/api/gas.go b/go/consensus/tendermint/api/gas.go index a0cfb22d43d..5fc89e577ab 100644 --- a/go/consensus/tendermint/api/gas.go +++ b/go/consensus/tendermint/api/gas.go @@ -5,7 +5,7 @@ import ( "fmt" "math" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" ) var ( diff --git a/go/consensus/tendermint/api/gas_test.go b/go/consensus/tendermint/api/gas_test.go index 9634c322a43..138924ebea8 100644 --- a/go/consensus/tendermint/api/gas_test.go +++ b/go/consensus/tendermint/api/gas_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" ) func TestBasicGasAccountant(t *testing.T) { diff --git a/go/consensus/tendermint/api/state.go b/go/consensus/tendermint/api/state.go index c2f19a1e66d..262439d90ff 100644 --- a/go/consensus/tendermint/api/state.go +++ b/go/consensus/tendermint/api/state.go @@ -6,16 +6,16 @@ import ( "fmt" "time" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/quantity" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - consensusGenesis "github.com/oasislabs/oasis-core/go/consensus/genesis" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - storage "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + consensusGenesis "github.com/oasisprotocol/oasis-core/go/consensus/genesis" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) var ( diff --git a/go/consensus/tendermint/apps/beacon/api.go b/go/consensus/tendermint/apps/beacon/api.go index b52ed88346b..499d19b4dbf 100644 --- a/go/consensus/tendermint/apps/beacon/api.go +++ b/go/consensus/tendermint/apps/beacon/api.go @@ -1,6 +1,6 @@ package beacon -import "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" +import "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" const ( // AppID is the unique application identifier. diff --git a/go/consensus/tendermint/apps/beacon/beacon.go b/go/consensus/tendermint/apps/beacon/beacon.go index 5bd642c2336..59ca9d103a2 100644 --- a/go/consensus/tendermint/apps/beacon/beacon.go +++ b/go/consensus/tendermint/apps/beacon/beacon.go @@ -9,11 +9,11 @@ import ( "github.com/tendermint/tendermint/abci/types" "golang.org/x/crypto/sha3" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - beaconState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/beacon/state" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + beaconState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/beacon/state" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) var ( diff --git a/go/consensus/tendermint/apps/beacon/genesis.go b/go/consensus/tendermint/apps/beacon/genesis.go index 7979c06b387..60b29d8322e 100644 --- a/go/consensus/tendermint/apps/beacon/genesis.go +++ b/go/consensus/tendermint/apps/beacon/genesis.go @@ -6,10 +6,10 @@ import ( "github.com/tendermint/tendermint/abci/types" - beacon "github.com/oasislabs/oasis-core/go/beacon/api" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - beaconState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/beacon/state" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" + beacon "github.com/oasisprotocol/oasis-core/go/beacon/api" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + beaconState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/beacon/state" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" ) func (app *beaconApplication) InitChain(ctx *abciAPI.Context, req types.RequestInitChain, doc *genesis.Document) error { diff --git a/go/consensus/tendermint/apps/beacon/query.go b/go/consensus/tendermint/apps/beacon/query.go index 86fed9d6447..de261325179 100644 --- a/go/consensus/tendermint/apps/beacon/query.go +++ b/go/consensus/tendermint/apps/beacon/query.go @@ -3,9 +3,9 @@ package beacon import ( "context" - beacon "github.com/oasislabs/oasis-core/go/beacon/api" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - beaconState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/beacon/state" + beacon "github.com/oasisprotocol/oasis-core/go/beacon/api" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + beaconState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/beacon/state" ) // Query is the beacon query interface. diff --git a/go/consensus/tendermint/apps/beacon/state/state.go b/go/consensus/tendermint/apps/beacon/state/state.go index 79441303e2e..4b012c786d6 100644 --- a/go/consensus/tendermint/apps/beacon/state/state.go +++ b/go/consensus/tendermint/apps/beacon/state/state.go @@ -5,11 +5,11 @@ import ( "errors" "fmt" - beacon "github.com/oasislabs/oasis-core/go/beacon/api" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/keyformat" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + beacon "github.com/oasisprotocol/oasis-core/go/beacon/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) var ( diff --git a/go/consensus/tendermint/apps/epochtime_mock/api.go b/go/consensus/tendermint/apps/epochtime_mock/api.go index bb46ccaf357..b968507e8a8 100644 --- a/go/consensus/tendermint/apps/epochtime_mock/api.go +++ b/go/consensus/tendermint/apps/epochtime_mock/api.go @@ -1,9 +1,9 @@ package epochtimemock import ( - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) const ( diff --git a/go/consensus/tendermint/apps/epochtime_mock/epochtime_mock.go b/go/consensus/tendermint/apps/epochtime_mock/epochtime_mock.go index d8094259e7e..36e99404292 100644 --- a/go/consensus/tendermint/apps/epochtime_mock/epochtime_mock.go +++ b/go/consensus/tendermint/apps/epochtime_mock/epochtime_mock.go @@ -6,12 +6,12 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" ) var _ abci.Application = (*epochTimeMockApplication)(nil) diff --git a/go/consensus/tendermint/apps/epochtime_mock/query.go b/go/consensus/tendermint/apps/epochtime_mock/query.go index 583ed58b0e2..6623bd994d2 100644 --- a/go/consensus/tendermint/apps/epochtime_mock/query.go +++ b/go/consensus/tendermint/apps/epochtime_mock/query.go @@ -3,8 +3,8 @@ package epochtimemock import ( "context" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) // Query is the mock epochtime query interface. diff --git a/go/consensus/tendermint/apps/epochtime_mock/state.go b/go/consensus/tendermint/apps/epochtime_mock/state.go index 589f18b7189..b21faa4dea8 100644 --- a/go/consensus/tendermint/apps/epochtime_mock/state.go +++ b/go/consensus/tendermint/apps/epochtime_mock/state.go @@ -4,11 +4,11 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/keyformat" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) var ( diff --git a/go/consensus/tendermint/apps/keymanager/api.go b/go/consensus/tendermint/apps/keymanager/api.go index 2402f180e50..c6fed39d707 100644 --- a/go/consensus/tendermint/apps/keymanager/api.go +++ b/go/consensus/tendermint/apps/keymanager/api.go @@ -1,7 +1,7 @@ // Package keymanager implementes the key manager management applicaiton. package keymanager -import api "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" +import api "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" const ( // AppID is the unique application identifier. diff --git a/go/consensus/tendermint/apps/keymanager/genesis.go b/go/consensus/tendermint/apps/keymanager/genesis.go index 9509e916225..2785f66f430 100644 --- a/go/consensus/tendermint/apps/keymanager/genesis.go +++ b/go/consensus/tendermint/apps/keymanager/genesis.go @@ -8,13 +8,13 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - tmapi "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - keymanagerState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/keymanager/state" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + tmapi "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + keymanagerState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/keymanager/state" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) func (app *keymanagerApplication) InitChain(ctx *tmapi.Context, request types.RequestInitChain, doc *genesis.Document) error { diff --git a/go/consensus/tendermint/apps/keymanager/keymanager.go b/go/consensus/tendermint/apps/keymanager/keymanager.go index 31966c05e80..2f83c1f297d 100644 --- a/go/consensus/tendermint/apps/keymanager/keymanager.go +++ b/go/consensus/tendermint/apps/keymanager/keymanager.go @@ -8,19 +8,19 @@ import ( "github.com/tendermint/tendermint/abci/types" "golang.org/x/crypto/sha3" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - tmapi "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - keymanagerState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/keymanager/state" - registryapp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/keymanager/api" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + tmapi "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + keymanagerState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/keymanager/state" + registryapp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/keymanager/api" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) var emptyHashSha3 = sha3.Sum256(nil) diff --git a/go/consensus/tendermint/apps/keymanager/query.go b/go/consensus/tendermint/apps/keymanager/query.go index 830290b5d95..7d399f14009 100644 --- a/go/consensus/tendermint/apps/keymanager/query.go +++ b/go/consensus/tendermint/apps/keymanager/query.go @@ -3,10 +3,10 @@ package keymanager import ( "context" - "github.com/oasislabs/oasis-core/go/common" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - keymanagerState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/keymanager/state" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" + "github.com/oasisprotocol/oasis-core/go/common" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + keymanagerState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/keymanager/state" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" ) // Query is the key manager query interface. diff --git a/go/consensus/tendermint/apps/keymanager/state/state.go b/go/consensus/tendermint/apps/keymanager/state/state.go index add4795d3a1..3f982dc3453 100644 --- a/go/consensus/tendermint/apps/keymanager/state/state.go +++ b/go/consensus/tendermint/apps/keymanager/state/state.go @@ -3,12 +3,12 @@ package state import ( "context" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/keyformat" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - "github.com/oasislabs/oasis-core/go/keymanager/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + "github.com/oasisprotocol/oasis-core/go/keymanager/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) var ( diff --git a/go/consensus/tendermint/apps/keymanager/transactions.go b/go/consensus/tendermint/apps/keymanager/transactions.go index ed1869d8844..52419e9a5af 100644 --- a/go/consensus/tendermint/apps/keymanager/transactions.go +++ b/go/consensus/tendermint/apps/keymanager/transactions.go @@ -3,12 +3,12 @@ package keymanager import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/cbor" - tmapi "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - keymanagerState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/keymanager/state" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - "github.com/oasislabs/oasis-core/go/keymanager/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + tmapi "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + keymanagerState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/keymanager/state" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + "github.com/oasisprotocol/oasis-core/go/keymanager/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) func (app *keymanagerApplication) updatePolicy( diff --git a/go/consensus/tendermint/apps/registry/api.go b/go/consensus/tendermint/apps/registry/api.go index b6ae6e22b93..e6ace307fe1 100644 --- a/go/consensus/tendermint/apps/registry/api.go +++ b/go/consensus/tendermint/apps/registry/api.go @@ -1,8 +1,8 @@ package registry import ( - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" ) const ( diff --git a/go/consensus/tendermint/apps/registry/genesis.go b/go/consensus/tendermint/apps/registry/genesis.go index b8a785ad5e0..89c308b9c47 100644 --- a/go/consensus/tendermint/apps/registry/genesis.go +++ b/go/consensus/tendermint/apps/registry/genesis.go @@ -7,13 +7,13 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/node" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/node" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) func (app *registryApplication) InitChain(ctx *abciAPI.Context, request types.RequestInitChain, doc *genesis.Document) error { diff --git a/go/consensus/tendermint/apps/registry/query.go b/go/consensus/tendermint/apps/registry/query.go index 7e08d9ed35c..94eb5e5d707 100644 --- a/go/consensus/tendermint/apps/registry/query.go +++ b/go/consensus/tendermint/apps/registry/query.go @@ -4,13 +4,13 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/node" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/node" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) // Query is the registry query interface. diff --git a/go/consensus/tendermint/apps/registry/registry.go b/go/consensus/tendermint/apps/registry/registry.go index bc5f71ddb54..cc793f86793 100644 --- a/go/consensus/tendermint/apps/registry/registry.go +++ b/go/consensus/tendermint/apps/registry/registry.go @@ -7,17 +7,17 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - stakingapp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + stakingapp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) var _ abci.Application = (*registryApplication)(nil) diff --git a/go/consensus/tendermint/apps/registry/state/state.go b/go/consensus/tendermint/apps/registry/state/state.go index 7696ed4b03c..84576ef726a 100644 --- a/go/consensus/tendermint/apps/registry/state/state.go +++ b/go/consensus/tendermint/apps/registry/state/state.go @@ -4,16 +4,16 @@ import ( "context" "errors" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/keyformat" - "github.com/oasislabs/oasis-core/go/common/node" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - tmcrypto "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + "github.com/oasisprotocol/oasis-core/go/common/node" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + tmcrypto "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) var ( diff --git a/go/consensus/tendermint/apps/registry/state/state_test.go b/go/consensus/tendermint/apps/registry/state/state_test.go index f821c8e3582..a054bb32be1 100644 --- a/go/consensus/tendermint/apps/registry/state/state_test.go +++ b/go/consensus/tendermint/apps/registry/state/state_test.go @@ -6,12 +6,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/node" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - tmcrypto "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/node" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + tmcrypto "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) var ( diff --git a/go/consensus/tendermint/apps/registry/transactions.go b/go/consensus/tendermint/apps/registry/transactions.go index 09fa2f06384..263b166f313 100644 --- a/go/consensus/tendermint/apps/registry/transactions.go +++ b/go/consensus/tendermint/apps/registry/transactions.go @@ -3,14 +3,14 @@ package registry import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - registry "github.com/oasislabs/oasis-core/go/registry/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) func (app *registryApplication) registerEntity( diff --git a/go/consensus/tendermint/apps/roothash/api.go b/go/consensus/tendermint/apps/roothash/api.go index 04360196e8b..0720e6db1cc 100644 --- a/go/consensus/tendermint/apps/roothash/api.go +++ b/go/consensus/tendermint/apps/roothash/api.go @@ -1,9 +1,9 @@ package roothash import ( - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" ) const ( diff --git a/go/consensus/tendermint/apps/roothash/genesis.go b/go/consensus/tendermint/apps/roothash/genesis.go index 39b79b9a4a3..b29ce951745 100644 --- a/go/consensus/tendermint/apps/roothash/genesis.go +++ b/go/consensus/tendermint/apps/roothash/genesis.go @@ -6,15 +6,15 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - roothashState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/roothash/state" - genesisAPI "github.com/oasislabs/oasis-core/go/genesis/api" - "github.com/oasislabs/oasis-core/go/registry/api" - roothashAPI "github.com/oasislabs/oasis-core/go/roothash/api" - storageAPI "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + roothashState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/roothash/state" + genesisAPI "github.com/oasisprotocol/oasis-core/go/genesis/api" + "github.com/oasisprotocol/oasis-core/go/registry/api" + roothashAPI "github.com/oasisprotocol/oasis-core/go/roothash/api" + storageAPI "github.com/oasisprotocol/oasis-core/go/storage/api" ) func (app *rootHashApplication) InitChain(ctx *abciAPI.Context, request types.RequestInitChain, doc *genesisAPI.Document) error { diff --git a/go/consensus/tendermint/apps/roothash/query.go b/go/consensus/tendermint/apps/roothash/query.go index 2db2d3f76e6..eb218e784bb 100644 --- a/go/consensus/tendermint/apps/roothash/query.go +++ b/go/consensus/tendermint/apps/roothash/query.go @@ -3,11 +3,11 @@ package roothash import ( "context" - "github.com/oasislabs/oasis-core/go/common" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - roothashState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/roothash/state" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/common" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + roothashState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/roothash/state" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" ) // Query is the roothash query interface. diff --git a/go/consensus/tendermint/apps/roothash/roothash.go b/go/consensus/tendermint/apps/roothash/roothash.go index ea98ba00360..5e5b6def619 100644 --- a/go/consensus/tendermint/apps/roothash/roothash.go +++ b/go/consensus/tendermint/apps/roothash/roothash.go @@ -9,26 +9,26 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - tmapi "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryapp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - roothashState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/roothash/state" - schedulerapp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/scheduler" - schedulerState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/scheduler/state" - stakingapp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + tmapi "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryapp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + roothashState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/roothash/state" + schedulerapp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/scheduler" + schedulerState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/scheduler/state" + stakingapp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" ) // timerKindRound is the round timer kind. diff --git a/go/consensus/tendermint/apps/roothash/state/round.go b/go/consensus/tendermint/apps/roothash/state/round.go index b121ce76fad..ffa391096d2 100644 --- a/go/consensus/tendermint/apps/roothash/state/round.go +++ b/go/consensus/tendermint/apps/roothash/state/round.go @@ -5,9 +5,9 @@ import ( "errors" "time" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" ) // Round is a roothash round. diff --git a/go/consensus/tendermint/apps/roothash/state/state.go b/go/consensus/tendermint/apps/roothash/state/state.go index f8d568fe3e8..9c798c39e18 100644 --- a/go/consensus/tendermint/apps/roothash/state/state.go +++ b/go/consensus/tendermint/apps/roothash/state/state.go @@ -4,15 +4,15 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/keyformat" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) var ( diff --git a/go/consensus/tendermint/apps/roothash/transactions.go b/go/consensus/tendermint/apps/roothash/transactions.go index 614d129db95..69b9e6ecc85 100644 --- a/go/consensus/tendermint/apps/roothash/transactions.go +++ b/go/consensus/tendermint/apps/roothash/transactions.go @@ -3,15 +3,15 @@ package roothash import ( "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - roothashState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/roothash/state" - schedulerState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/scheduler/state" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + roothashState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/roothash/state" + schedulerState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/scheduler/state" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" ) var _ commitment.SignatureVerifier = (*roothashSignatureVerifier)(nil) diff --git a/go/consensus/tendermint/apps/scheduler/api.go b/go/consensus/tendermint/apps/scheduler/api.go index a285705adf6..2b96cf70c72 100644 --- a/go/consensus/tendermint/apps/scheduler/api.go +++ b/go/consensus/tendermint/apps/scheduler/api.go @@ -1,7 +1,7 @@ package scheduler import ( - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" ) const ( diff --git a/go/consensus/tendermint/apps/scheduler/genesis.go b/go/consensus/tendermint/apps/scheduler/genesis.go index 2ec50860f0f..700c1ab02e2 100644 --- a/go/consensus/tendermint/apps/scheduler/genesis.go +++ b/go/consensus/tendermint/apps/scheduler/genesis.go @@ -8,15 +8,15 @@ import ( "github.com/tendermint/tendermint/abci/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/node" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - schedulerState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/scheduler/state" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/node" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + schedulerState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/scheduler/state" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) func (app *schedulerApplication) InitChain(ctx *abciAPI.Context, req types.RequestInitChain, doc *genesis.Document) error { diff --git a/go/consensus/tendermint/apps/scheduler/query.go b/go/consensus/tendermint/apps/scheduler/query.go index ff6d38d59ec..258fe711f25 100644 --- a/go/consensus/tendermint/apps/scheduler/query.go +++ b/go/consensus/tendermint/apps/scheduler/query.go @@ -3,11 +3,11 @@ package scheduler import ( "context" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - schedulerState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/scheduler/state" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + schedulerState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/scheduler/state" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" ) // Query is the scheduler query interface. diff --git a/go/consensus/tendermint/apps/scheduler/scheduler.go b/go/consensus/tendermint/apps/scheduler/scheduler.go index 0f5b4a1e668..fd979b481cc 100644 --- a/go/consensus/tendermint/apps/scheduler/scheduler.go +++ b/go/consensus/tendermint/apps/scheduler/scheduler.go @@ -9,27 +9,27 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/drbg" - "github.com/oasislabs/oasis-core/go/common/crypto/mathrand" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - beaconapp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/beacon" - beaconState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/beacon/state" - registryapp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - schedulerState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/scheduler/state" - stakingapp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/drbg" + "github.com/oasisprotocol/oasis-core/go/common/crypto/mathrand" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + beaconapp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/beacon" + beaconState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/beacon/state" + registryapp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + schedulerState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/scheduler/state" + stakingapp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" ) var ( diff --git a/go/consensus/tendermint/apps/scheduler/scheduler_test.go b/go/consensus/tendermint/apps/scheduler/scheduler_test.go index b3d7a509015..0ee480a15c9 100644 --- a/go/consensus/tendermint/apps/scheduler/scheduler_test.go +++ b/go/consensus/tendermint/apps/scheduler/scheduler_test.go @@ -6,9 +6,9 @@ import ( "github.com/stretchr/testify/require" "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" ) func TestDiffValidators(t *testing.T) { diff --git a/go/consensus/tendermint/apps/scheduler/state/state.go b/go/consensus/tendermint/apps/scheduler/state/state.go index 7a941671328..7dee2a7e5d2 100644 --- a/go/consensus/tendermint/apps/scheduler/state/state.go +++ b/go/consensus/tendermint/apps/scheduler/state/state.go @@ -4,13 +4,13 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/keyformat" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - "github.com/oasislabs/oasis-core/go/scheduler/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + "github.com/oasisprotocol/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) var ( diff --git a/go/consensus/tendermint/apps/staking/api.go b/go/consensus/tendermint/apps/staking/api.go index 17e6643a2dc..36507c43d1b 100644 --- a/go/consensus/tendermint/apps/staking/api.go +++ b/go/consensus/tendermint/apps/staking/api.go @@ -1,8 +1,8 @@ package staking import ( - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" ) const ( diff --git a/go/consensus/tendermint/apps/staking/auth.go b/go/consensus/tendermint/apps/staking/auth.go index ffe1e586a62..4249a337267 100644 --- a/go/consensus/tendermint/apps/staking/auth.go +++ b/go/consensus/tendermint/apps/staking/auth.go @@ -3,11 +3,11 @@ package staking import ( "context" - "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" + "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" ) var _ abci.TransactionAuthHandler = (*stakingApplication)(nil) diff --git a/go/consensus/tendermint/apps/staking/fees.go b/go/consensus/tendermint/apps/staking/fees.go index 3480f03f6a1..0d09ab33a7d 100644 --- a/go/consensus/tendermint/apps/staking/fees.go +++ b/go/consensus/tendermint/apps/staking/fees.go @@ -3,12 +3,12 @@ package staking import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/quantity" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) // disburseFeesP disburses fees to the proposer and persists the voters' and next proposer's shares of the fees. diff --git a/go/consensus/tendermint/apps/staking/genesis.go b/go/consensus/tendermint/apps/staking/genesis.go index 93d198c5831..1916b48e30f 100644 --- a/go/consensus/tendermint/apps/staking/genesis.go +++ b/go/consensus/tendermint/apps/staking/genesis.go @@ -6,12 +6,12 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/quantity" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) func (app *stakingApplication) initParameters(ctx *abciAPI.Context, state *stakingState.MutableState, st *staking.Genesis) error { diff --git a/go/consensus/tendermint/apps/staking/proposing_rewards.go b/go/consensus/tendermint/apps/staking/proposing_rewards.go index 9ac6fa37191..64a3896fac2 100644 --- a/go/consensus/tendermint/apps/staking/proposing_rewards.go +++ b/go/consensus/tendermint/apps/staking/proposing_rewards.go @@ -6,11 +6,11 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) func (app *stakingApplication) resolveEntityIDFromProposer( diff --git a/go/consensus/tendermint/apps/staking/query.go b/go/consensus/tendermint/apps/staking/query.go index 9ea9035155e..efc8cebeaeb 100644 --- a/go/consensus/tendermint/apps/staking/query.go +++ b/go/consensus/tendermint/apps/staking/query.go @@ -3,12 +3,12 @@ package staking import ( "context" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/quantity" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) // Query is the staking query interface. diff --git a/go/consensus/tendermint/apps/staking/signing_rewards.go b/go/consensus/tendermint/apps/staking/signing_rewards.go index 1f476e3a88b..9e1d811e35d 100644 --- a/go/consensus/tendermint/apps/staking/signing_rewards.go +++ b/go/consensus/tendermint/apps/staking/signing_rewards.go @@ -3,10 +3,10 @@ package staking import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) func (app *stakingApplication) updateEpochSigning( diff --git a/go/consensus/tendermint/apps/staking/slashing.go b/go/consensus/tendermint/apps/staking/slashing.go index 35ea78b52f9..0862a13c868 100644 --- a/go/consensus/tendermint/apps/staking/slashing.go +++ b/go/consensus/tendermint/apps/staking/slashing.go @@ -8,12 +8,12 @@ import ( tmcrypto "github.com/tendermint/tendermint/crypto" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) func onEvidenceDoubleSign( diff --git a/go/consensus/tendermint/apps/staking/slashing_test.go b/go/consensus/tendermint/apps/staking/slashing_test.go index b12716836e5..1dba219d64b 100644 --- a/go/consensus/tendermint/apps/staking/slashing_test.go +++ b/go/consensus/tendermint/apps/staking/slashing_test.go @@ -6,17 +6,17 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/quantity" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - tmcrypto "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" - registry "github.com/oasislabs/oasis-core/go/registry/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + tmcrypto "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) func TestOnEvidenceDoubleSign(t *testing.T) { diff --git a/go/consensus/tendermint/apps/staking/staking.go b/go/consensus/tendermint/apps/staking/staking.go index da741960306..c9319bd9dc2 100644 --- a/go/consensus/tendermint/apps/staking/staking.go +++ b/go/consensus/tendermint/apps/staking/staking.go @@ -7,15 +7,15 @@ import ( "github.com/tendermint/tendermint/abci/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) var _ abci.Application = (*stakingApplication)(nil) diff --git a/go/consensus/tendermint/apps/staking/state/accumulator.go b/go/consensus/tendermint/apps/staking/state/accumulator.go index d82644fbcd7..697b6b3e6eb 100644 --- a/go/consensus/tendermint/apps/staking/state/accumulator.go +++ b/go/consensus/tendermint/apps/staking/state/accumulator.go @@ -4,10 +4,10 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/quantity" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) // StakeAccumulatorCache is a thin wrapper around an underlying escrow accounts which caches some diff --git a/go/consensus/tendermint/apps/staking/state/accumulator_test.go b/go/consensus/tendermint/apps/staking/state/accumulator_test.go index ddcea3d94d7..c2fbffc0596 100644 --- a/go/consensus/tendermint/apps/staking/state/accumulator_test.go +++ b/go/consensus/tendermint/apps/staking/state/accumulator_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/quantity" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) func TestStakeAccumulatorCache(t *testing.T) { diff --git a/go/consensus/tendermint/apps/staking/state/gas.go b/go/consensus/tendermint/apps/staking/state/gas.go index eff2126b504..bba9f8e61d8 100644 --- a/go/consensus/tendermint/apps/staking/state/gas.go +++ b/go/consensus/tendermint/apps/staking/state/gas.go @@ -4,12 +4,12 @@ import ( "fmt" "math" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) // feeAccumulatorKey is the block context key. diff --git a/go/consensus/tendermint/apps/staking/state/state.go b/go/consensus/tendermint/apps/staking/state/state.go index 2d75598e9c2..e15a90791e6 100644 --- a/go/consensus/tendermint/apps/staking/state/state.go +++ b/go/consensus/tendermint/apps/staking/state/state.go @@ -7,16 +7,16 @@ import ( "math" "sort" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/keyformat" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) var ( diff --git a/go/consensus/tendermint/apps/staking/state/state_test.go b/go/consensus/tendermint/apps/staking/state/state_test.go index 20bc8f9c540..23a3f270971 100644 --- a/go/consensus/tendermint/apps/staking/state/state_test.go +++ b/go/consensus/tendermint/apps/staking/state/state_test.go @@ -8,12 +8,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/quantity" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) func mustInitQuantity(t *testing.T, i int64) (q quantity.Quantity) { diff --git a/go/consensus/tendermint/apps/staking/transactions.go b/go/consensus/tendermint/apps/staking/transactions.go index 51ffe34c288..c098a4d4aed 100644 --- a/go/consensus/tendermint/apps/staking/transactions.go +++ b/go/consensus/tendermint/apps/staking/transactions.go @@ -3,12 +3,12 @@ package staking import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) func isTransferPermitted(params *staking.ConsensusParameters, fromID signature.PublicKey) (permitted bool) { diff --git a/go/consensus/tendermint/apps/staking/transactions_test.go b/go/consensus/tendermint/apps/staking/transactions_test.go index e1f75f5f64b..3e3e1683801 100644 --- a/go/consensus/tendermint/apps/staking/transactions_test.go +++ b/go/consensus/tendermint/apps/staking/transactions_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) func TestIsTransferPermitted(t *testing.T) { diff --git a/go/consensus/tendermint/apps/staking/votes.go b/go/consensus/tendermint/apps/staking/votes.go index fe885e6a4d8..bdc44f54cdd 100644 --- a/go/consensus/tendermint/apps/staking/votes.go +++ b/go/consensus/tendermint/apps/staking/votes.go @@ -5,9 +5,9 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" ) func (app *stakingApplication) resolveEntityIDsFromVotes(ctx *abciAPI.Context, regState *registryState.MutableState, lastCommitInfo types.LastCommitInfo) []signature.PublicKey { diff --git a/go/consensus/tendermint/apps/supplementarysanity/checks.go b/go/consensus/tendermint/apps/supplementarysanity/checks.go index 707e08e9735..758844406cd 100644 --- a/go/consensus/tendermint/apps/supplementarysanity/checks.go +++ b/go/consensus/tendermint/apps/supplementarysanity/checks.go @@ -3,20 +3,20 @@ package supplementarysanity import ( "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/quantity" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - keymanagerState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/keymanager/state" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - roothashState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/roothash/state" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + keymanagerState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/keymanager/state" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + roothashState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/roothash/state" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) func checkEpochTime(ctx *abciAPI.Context, now epochtime.EpochTime) error { diff --git a/go/consensus/tendermint/apps/supplementarysanity/supplementarysanity.go b/go/consensus/tendermint/apps/supplementarysanity/supplementarysanity.go index 6d774d0eee4..a0c2243124b 100644 --- a/go/consensus/tendermint/apps/supplementarysanity/supplementarysanity.go +++ b/go/consensus/tendermint/apps/supplementarysanity/supplementarysanity.go @@ -6,13 +6,13 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/genesis/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/genesis/api" ) var ( diff --git a/go/consensus/tendermint/beacon/beacon.go b/go/consensus/tendermint/beacon/beacon.go index 807e37d61b1..a4e904a0353 100644 --- a/go/consensus/tendermint/beacon/beacon.go +++ b/go/consensus/tendermint/beacon/beacon.go @@ -4,10 +4,10 @@ package beacon import ( "context" - "github.com/oasislabs/oasis-core/go/beacon/api" - "github.com/oasislabs/oasis-core/go/common/logging" - app "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/beacon" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" + "github.com/oasisprotocol/oasis-core/go/beacon/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + app "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/beacon" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" ) var _ api.Backend = (*tendermintBackend)(nil) diff --git a/go/consensus/tendermint/crypto/priv_val.go b/go/consensus/tendermint/crypto/priv_val.go index dd9458541ae..9769eae9320 100644 --- a/go/consensus/tendermint/crypto/priv_val.go +++ b/go/consensus/tendermint/crypto/priv_val.go @@ -209,7 +209,7 @@ import ( "github.com/tendermint/tendermint/privval" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) // This derives heavily from `tendermint/privval/file.go` for reasons that should diff --git a/go/consensus/tendermint/crypto/signature.go b/go/consensus/tendermint/crypto/signature.go index 830758171cc..0a942ba64ed 100644 --- a/go/consensus/tendermint/crypto/signature.go +++ b/go/consensus/tendermint/crypto/signature.go @@ -5,7 +5,7 @@ import ( "github.com/tendermint/tendermint/crypto" tmed "github.com/tendermint/tendermint/crypto/ed25519" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) var tendermintSignatureContext = signature.NewContext("oasis-core/tendermint") diff --git a/go/consensus/tendermint/crypto/signature_test.go b/go/consensus/tendermint/crypto/signature_test.go index eae2a189337..a3bb9ba37e6 100644 --- a/go/consensus/tendermint/crypto/signature_test.go +++ b/go/consensus/tendermint/crypto/signature_test.go @@ -7,7 +7,7 @@ import ( "github.com/stretchr/testify/require" tmed "github.com/tendermint/tendermint/crypto/ed25519" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" ) func TestSignatureConversions(t *testing.T) { diff --git a/go/consensus/tendermint/db/badger/badger.go b/go/consensus/tendermint/db/badger/badger.go index e5b37dc8975..dd62a259f4f 100644 --- a/go/consensus/tendermint/db/badger/badger.go +++ b/go/consensus/tendermint/db/badger/badger.go @@ -14,8 +14,8 @@ import ( "github.com/tendermint/tendermint/node" dbm "github.com/tendermint/tm-db" - cmnBadger "github.com/oasislabs/oasis-core/go/common/badger" - "github.com/oasislabs/oasis-core/go/common/logging" + cmnBadger "github.com/oasisprotocol/oasis-core/go/common/badger" + "github.com/oasisprotocol/oasis-core/go/common/logging" ) const ( diff --git a/go/consensus/tendermint/db/badger/badger_test.go b/go/consensus/tendermint/db/badger/badger_test.go index cf9d19f85fc..8b00295268d 100644 --- a/go/consensus/tendermint/db/badger/badger_test.go +++ b/go/consensus/tendermint/db/badger/badger_test.go @@ -8,7 +8,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/db/tests" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/db/tests" ) func TestBadgerTendermintDB(t *testing.T) { diff --git a/go/consensus/tendermint/db/init.go b/go/consensus/tendermint/db/init.go index f486dd5c43d..b1c76066c13 100644 --- a/go/consensus/tendermint/db/init.go +++ b/go/consensus/tendermint/db/init.go @@ -11,7 +11,7 @@ import ( "github.com/tendermint/tendermint/node" dbm "github.com/tendermint/tm-db" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/db/badger" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/db/badger" ) const cfgBackend = "tendermint.db.backend" diff --git a/go/consensus/tendermint/epochtime/epochtime.go b/go/consensus/tendermint/epochtime/epochtime.go index 3cb353e65e1..9174a20df57 100644 --- a/go/consensus/tendermint/epochtime/epochtime.go +++ b/go/consensus/tendermint/epochtime/epochtime.go @@ -9,10 +9,10 @@ import ( "github.com/eapache/channels" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) var _ api.Backend = (*tendermintBackend)(nil) diff --git a/go/consensus/tendermint/epochtime_mock/epochtime_mock.go b/go/consensus/tendermint/epochtime_mock/epochtime_mock.go index 50df46dca52..183863c7e8c 100644 --- a/go/consensus/tendermint/epochtime_mock/epochtime_mock.go +++ b/go/consensus/tendermint/epochtime_mock/epochtime_mock.go @@ -10,16 +10,16 @@ import ( "github.com/eapache/channels" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - app "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/epochtime_mock" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + app "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/epochtime_mock" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) var ( diff --git a/go/consensus/tendermint/full.go b/go/consensus/tendermint/full.go index 95f201e21d7..83dc569d752 100644 --- a/go/consensus/tendermint/full.go +++ b/go/consensus/tendermint/full.go @@ -8,7 +8,7 @@ import ( tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" tmstate "github.com/tendermint/tendermint/state" - consensusAPI "github.com/oasislabs/oasis-core/go/consensus/api" + consensusAPI "github.com/oasisprotocol/oasis-core/go/consensus/api" ) // We must use Tendermint's amino codec as some Tendermint's types are not easily unmarshallable. diff --git a/go/consensus/tendermint/fuzz/fuzz.go b/go/consensus/tendermint/fuzz/fuzz.go index b443abea398..26c9e09fae3 100644 --- a/go/consensus/tendermint/fuzz/fuzz.go +++ b/go/consensus/tendermint/fuzz/fuzz.go @@ -7,16 +7,16 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/fuzz" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/epochtime_mock" - registryApp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry" - stakingApp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking" - "github.com/oasislabs/oasis-core/go/upgrade" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/fuzz" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/epochtime_mock" + registryApp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry" + stakingApp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking" + "github.com/oasisprotocol/oasis-core/go/upgrade" ) var ( diff --git a/go/consensus/tendermint/keymanager/keymanager.go b/go/consensus/tendermint/keymanager/keymanager.go index f40217ff6c2..c72afbfd07b 100644 --- a/go/consensus/tendermint/keymanager/keymanager.go +++ b/go/consensus/tendermint/keymanager/keymanager.go @@ -11,14 +11,14 @@ import ( abcitypes "github.com/tendermint/tendermint/abci/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - app "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/keymanager" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - "github.com/oasislabs/oasis-core/go/keymanager/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + app "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/keymanager" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + "github.com/oasisprotocol/oasis-core/go/keymanager/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) type tendermintBackend struct { diff --git a/go/consensus/tendermint/registry/registry.go b/go/consensus/tendermint/registry/registry.go index 2972045c80f..82c8673ab4d 100644 --- a/go/consensus/tendermint/registry/registry.go +++ b/go/consensus/tendermint/registry/registry.go @@ -11,16 +11,16 @@ import ( tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - app "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + app "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + "github.com/oasisprotocol/oasis-core/go/registry/api" ) var _ api.Backend = (*tendermintBackend)(nil) diff --git a/go/consensus/tendermint/roothash/roothash.go b/go/consensus/tendermint/roothash/roothash.go index eff1384a5f6..390f33c3a6a 100644 --- a/go/consensus/tendermint/roothash/roothash.go +++ b/go/consensus/tendermint/roothash/roothash.go @@ -13,17 +13,17 @@ import ( tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crash" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - app "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/roothash" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crash" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + app "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/roothash" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" ) const crashPointBlockBeforeIndex = "roothash.before_index" diff --git a/go/consensus/tendermint/scheduler/scheduler.go b/go/consensus/tendermint/scheduler/scheduler.go index 31cd867cb60..5128437b784 100644 --- a/go/consensus/tendermint/scheduler/scheduler.go +++ b/go/consensus/tendermint/scheduler/scheduler.go @@ -9,13 +9,13 @@ import ( "github.com/eapache/channels" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - app "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/scheduler" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - "github.com/oasislabs/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + app "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/scheduler" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + "github.com/oasisprotocol/oasis-core/go/scheduler/api" ) var _ api.Backend = (*tendermintBackend)(nil) diff --git a/go/consensus/tendermint/seed.go b/go/consensus/tendermint/seed.go index 495b20cbb02..aa21748d6fe 100644 --- a/go/consensus/tendermint/seed.go +++ b/go/consensus/tendermint/seed.go @@ -12,13 +12,13 @@ import ( "github.com/tendermint/tendermint/types" "github.com/tendermint/tendermint/version" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) var logger = logging.GetLogger("consensus/tendermint/seed") diff --git a/go/consensus/tendermint/service/service.go b/go/consensus/tendermint/service/service.go index 4de1e7156f1..7afb0ec61bc 100644 --- a/go/consensus/tendermint/service/service.go +++ b/go/consensus/tendermint/service/service.go @@ -8,10 +8,10 @@ import ( tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/service" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/service" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" ) // TendermintService provides Tendermint access to Oasis core backends. diff --git a/go/consensus/tendermint/staking/staking.go b/go/consensus/tendermint/staking/staking.go index a4173744d32..c740d3d2d80 100644 --- a/go/consensus/tendermint/staking/staking.go +++ b/go/consensus/tendermint/staking/staking.go @@ -10,16 +10,16 @@ import ( tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - app "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + app "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + "github.com/oasisprotocol/oasis-core/go/staking/api" ) var _ api.Backend = (*tendermintBackend)(nil) diff --git a/go/consensus/tendermint/tendermint.go b/go/consensus/tendermint/tendermint.go index d568b9dbc6f..1c0b0f23f58 100644 --- a/go/consensus/tendermint/tendermint.go +++ b/go/consensus/tendermint/tendermint.go @@ -29,48 +29,48 @@ import ( tmtypes "github.com/tendermint/tendermint/types" tmdb "github.com/tendermint/tm-db" - beaconAPI "github.com/oasislabs/oasis-core/go/beacon/api" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/quantity" - cmservice "github.com/oasislabs/oasis-core/go/common/service" - "github.com/oasislabs/oasis-core/go/common/version" - consensusAPI "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/metrics" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - tmbeacon "github.com/oasislabs/oasis-core/go/consensus/tendermint/beacon" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/db" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/epochtime" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/epochtime_mock" - tmkeymanager "github.com/oasislabs/oasis-core/go/consensus/tendermint/keymanager" - tmregistry "github.com/oasislabs/oasis-core/go/consensus/tendermint/registry" - tmroothash "github.com/oasislabs/oasis-core/go/consensus/tendermint/roothash" - tmscheduler "github.com/oasislabs/oasis-core/go/consensus/tendermint/scheduler" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - tmstaking "github.com/oasislabs/oasis-core/go/consensus/tendermint/staking" - epochtimeAPI "github.com/oasislabs/oasis-core/go/epochtime/api" - genesisAPI "github.com/oasislabs/oasis-core/go/genesis/api" - keymanagerAPI "github.com/oasislabs/oasis-core/go/keymanager/api" - cmbackground "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/background" - cmflags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmmetrics "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/metrics" - "github.com/oasislabs/oasis-core/go/registry" - registryAPI "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/roothash" - roothashAPI "github.com/oasislabs/oasis-core/go/roothash/api" - schedulerAPI "github.com/oasislabs/oasis-core/go/scheduler/api" - stakingAPI "github.com/oasislabs/oasis-core/go/staking/api" - upgradeAPI "github.com/oasislabs/oasis-core/go/upgrade/api" + beaconAPI "github.com/oasisprotocol/oasis-core/go/beacon/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + cmservice "github.com/oasisprotocol/oasis-core/go/common/service" + "github.com/oasisprotocol/oasis-core/go/common/version" + consensusAPI "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/metrics" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + tmbeacon "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/beacon" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/db" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/epochtime" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/epochtime_mock" + tmkeymanager "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/keymanager" + tmregistry "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/registry" + tmroothash "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/roothash" + tmscheduler "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/scheduler" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + tmstaking "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/staking" + epochtimeAPI "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesisAPI "github.com/oasisprotocol/oasis-core/go/genesis/api" + keymanagerAPI "github.com/oasisprotocol/oasis-core/go/keymanager/api" + cmbackground "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/background" + cmflags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmmetrics "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/metrics" + "github.com/oasisprotocol/oasis-core/go/registry" + registryAPI "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/roothash" + roothashAPI "github.com/oasisprotocol/oasis-core/go/roothash/api" + schedulerAPI "github.com/oasisprotocol/oasis-core/go/scheduler/api" + stakingAPI "github.com/oasisprotocol/oasis-core/go/staking/api" + upgradeAPI "github.com/oasisprotocol/oasis-core/go/upgrade/api" ) const ( diff --git a/go/consensus/tendermint/tests/evidence.go b/go/consensus/tendermint/tests/evidence.go index 83b551184bb..cb0004f4e40 100644 --- a/go/consensus/tendermint/tests/evidence.go +++ b/go/consensus/tendermint/tests/evidence.go @@ -10,10 +10,10 @@ import ( "github.com/stretchr/testify/require" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/identity" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - tmcrypto "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" - genesisTestHelpers "github.com/oasislabs/oasis-core/go/genesis/tests" + "github.com/oasisprotocol/oasis-core/go/common/identity" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + tmcrypto "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" + genesisTestHelpers "github.com/oasisprotocol/oasis-core/go/genesis/tests" ) // MakeDoubleSignEvidence creates consensus evidence of double signing. diff --git a/go/consensus/tendermint/tests/genesis/genesis.go b/go/consensus/tendermint/tests/genesis/genesis.go index 0190758f00a..4677969a10c 100644 --- a/go/consensus/tendermint/tests/genesis/genesis.go +++ b/go/consensus/tendermint/tests/genesis/genesis.go @@ -7,18 +7,18 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/identity" - consensus "github.com/oasislabs/oasis-core/go/consensus/genesis" - tendermint "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - genesisTestHelpers "github.com/oasislabs/oasis-core/go/genesis/tests" - registry "github.com/oasislabs/oasis-core/go/registry/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - stakingTests "github.com/oasislabs/oasis-core/go/staking/tests/debug" + "github.com/oasisprotocol/oasis-core/go/common/identity" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/genesis" + tendermint "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + genesisTestHelpers "github.com/oasisprotocol/oasis-core/go/genesis/tests" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + stakingTests "github.com/oasisprotocol/oasis-core/go/staking/tests/debug" ) var _ service.GenesisProvider = (*testNodeGenesisProvider)(nil) diff --git a/go/consensus/tests/tester.go b/go/consensus/tests/tester.go index 07a25d7d795..ae3020c1582 100644 --- a/go/consensus/tests/tester.go +++ b/go/consensus/tests/tester.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/epochtime_mock" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/epochtime_mock" ) const ( diff --git a/go/control/api/api.go b/go/control/api/api.go index dc7ffeb8c04..5753ae6a523 100644 --- a/go/control/api/api.go +++ b/go/control/api/api.go @@ -4,10 +4,10 @@ package api import ( "context" - "github.com/oasislabs/oasis-core/go/common/errors" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - upgrade "github.com/oasislabs/oasis-core/go/upgrade/api" + "github.com/oasisprotocol/oasis-core/go/common/errors" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + upgrade "github.com/oasisprotocol/oasis-core/go/upgrade/api" ) // NodeController is a node controller interface. diff --git a/go/control/api/grpc.go b/go/control/api/grpc.go index 80feddc6bac..cd2bdab9070 100644 --- a/go/control/api/grpc.go +++ b/go/control/api/grpc.go @@ -5,8 +5,8 @@ import ( "google.golang.org/grpc" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - upgradeApi "github.com/oasislabs/oasis-core/go/upgrade/api" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + upgradeApi "github.com/oasisprotocol/oasis-core/go/upgrade/api" ) var ( diff --git a/go/control/api/grpc_debug.go b/go/control/api/grpc_debug.go index 14f78cf4ab3..79c93ed3341 100644 --- a/go/control/api/grpc_debug.go +++ b/go/control/api/grpc_debug.go @@ -5,8 +5,8 @@ import ( "google.golang.org/grpc" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) var ( diff --git a/go/control/control.go b/go/control/control.go index 80f2c62fcc7..1c6f80acc83 100644 --- a/go/control/control.go +++ b/go/control/control.go @@ -4,10 +4,10 @@ package control import ( "context" - "github.com/oasislabs/oasis-core/go/common/version" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - control "github.com/oasislabs/oasis-core/go/control/api" - upgrade "github.com/oasislabs/oasis-core/go/upgrade/api" + "github.com/oasisprotocol/oasis-core/go/common/version" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + control "github.com/oasisprotocol/oasis-core/go/control/api" + upgrade "github.com/oasisprotocol/oasis-core/go/upgrade/api" ) type nodeController struct { diff --git a/go/control/debug.go b/go/control/debug.go index 0434bea7243..9ca557e0af8 100644 --- a/go/control/debug.go +++ b/go/control/debug.go @@ -2,11 +2,11 @@ package control import ( "context" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/control/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/control/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) type debugController struct { diff --git a/go/epochtime/api/api.go b/go/epochtime/api/api.go index 32f15e55eb3..cb92fbc02cd 100644 --- a/go/epochtime/api/api.go +++ b/go/epochtime/api/api.go @@ -5,8 +5,8 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" ) // EpochTime is the number of intervals (epochs) since a fixed instant diff --git a/go/epochtime/tests/mock_tester.go b/go/epochtime/tests/mock_tester.go index 9db7cb4d394..ccb1b4b4452 100644 --- a/go/epochtime/tests/mock_tester.go +++ b/go/epochtime/tests/mock_tester.go @@ -8,8 +8,8 @@ import ( "github.com/stretchr/testify/require" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/epochtime/api" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) const recvTimeout = 5 * time.Second diff --git a/go/extra/stats/cmd/root.go b/go/extra/stats/cmd/root.go index db2a01fc3d5..7b75b688be3 100644 --- a/go/extra/stats/cmd/root.go +++ b/go/extra/stats/cmd/root.go @@ -8,9 +8,9 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/version" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/version" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" ) const cfgLogLevel = "log.level" diff --git a/go/extra/stats/cmd/stats.go b/go/extra/stats/cmd/stats.go index df4827bdfef..0cc884cc019 100644 --- a/go/extra/stats/cmd/stats.go +++ b/go/extra/stats/cmd/stats.go @@ -15,15 +15,15 @@ import ( tmrpctypes "github.com/tendermint/tendermint/rpc/core/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - consensusAPI "github.com/oasislabs/oasis-core/go/consensus/api" - tmApi "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - tmcrypto "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" - nodeCmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - registryAPI "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensusAPI "github.com/oasisprotocol/oasis-core/go/consensus/api" + tmApi "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + tmcrypto "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" + nodeCmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + registryAPI "github.com/oasisprotocol/oasis-core/go/registry/api" ) const ( diff --git a/go/extra/stats/main.go b/go/extra/stats/main.go index afc132ba5e9..cb289d62bab 100644 --- a/go/extra/stats/main.go +++ b/go/extra/stats/main.go @@ -2,7 +2,7 @@ package main import ( - "github.com/oasislabs/oasis-core/go/extra/stats/cmd" + "github.com/oasisprotocol/oasis-core/go/extra/stats/cmd" ) func main() { diff --git a/go/genesis/api/api.go b/go/genesis/api/api.go index b7ba5040c0b..9ef6b4cfb06 100644 --- a/go/genesis/api/api.go +++ b/go/genesis/api/api.go @@ -7,16 +7,16 @@ import ( "io/ioutil" "time" - beacon "github.com/oasislabs/oasis-core/go/beacon/api" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - consensus "github.com/oasislabs/oasis-core/go/consensus/genesis" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + beacon "github.com/oasisprotocol/oasis-core/go/beacon/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/genesis" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const filePerm = 0600 diff --git a/go/genesis/api/sanity_check.go b/go/genesis/api/sanity_check.go index 1817b377379..9ab6941159e 100644 --- a/go/genesis/api/sanity_check.go +++ b/go/genesis/api/sanity_check.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) // SanityCheck does basic sanity checking on the contents of the genesis document. diff --git a/go/genesis/file/file.go b/go/genesis/file/file.go index 94443fc10a8..9a23f73bd1a 100644 --- a/go/genesis/file/file.go +++ b/go/genesis/file/file.go @@ -6,9 +6,9 @@ import ( "fmt" "io/ioutil" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/genesis/api" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/genesis/api" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" ) // fileProvider provides the static gensis document that network was diff --git a/go/genesis/genesis_test.go b/go/genesis/genesis_test.go index 6fa91095c69..73b096d43ec 100644 --- a/go/genesis/genesis_test.go +++ b/go/genesis/genesis_test.go @@ -9,25 +9,25 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/node" - consensus "github.com/oasislabs/oasis-core/go/consensus/genesis" - tendermint "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - genesisTestHelpers "github.com/oasislabs/oasis-core/go/genesis/tests" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - registry "github.com/oasislabs/oasis-core/go/registry/api" - roothashAPI "github.com/oasislabs/oasis-core/go/roothash/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" - stakingTests "github.com/oasislabs/oasis-core/go/staking/tests/debug" - storage "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/node" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/genesis" + tendermint "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + genesisTestHelpers "github.com/oasisprotocol/oasis-core/go/genesis/tests" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + roothashAPI "github.com/oasisprotocol/oasis-core/go/roothash/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" + stakingTests "github.com/oasisprotocol/oasis-core/go/staking/tests/debug" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" ) // Note: If you are here wanting to alter the genesis document used for diff --git a/go/genesis/tests/helpers.go b/go/genesis/tests/helpers.go index ba7ef28f366..17f162e92da 100644 --- a/go/genesis/tests/helpers.go +++ b/go/genesis/tests/helpers.go @@ -2,8 +2,8 @@ package tests import ( - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) // TestChainID is the chain ID that should be used in tests. diff --git a/go/go.mod b/go/go.mod index 41f09b87836..56461b4afd6 100644 --- a/go/go.mod +++ b/go/go.mod @@ -1,4 +1,4 @@ -module github.com/oasislabs/oasis-core/go +module github.com/oasisprotocol/oasis-core/go replace ( // Updates the version used in spf13/cobra (dependency via tendermint) as diff --git a/go/ias/api/api.go b/go/ias/api/api.go index 776df83396e..6fbff7dcc3c 100644 --- a/go/ias/api/api.go +++ b/go/ias/api/api.go @@ -4,8 +4,8 @@ package api import ( "context" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" ) // Endpoint is an attestation validation endpoint, likely remote. diff --git a/go/ias/api/grpc.go b/go/ias/api/grpc.go index 4bb38fcb794..dea62c7f962 100644 --- a/go/ias/api/grpc.go +++ b/go/ias/api/grpc.go @@ -5,8 +5,8 @@ import ( "google.golang.org/grpc" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" ) var ( diff --git a/go/ias/http/http.go b/go/ias/http/http.go index b80b1ad9bfc..d2fbcce5bcc 100644 --- a/go/ias/http/http.go +++ b/go/ias/http/http.go @@ -19,9 +19,9 @@ import ( "golang.org/x/net/context/ctxhttp" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" - "github.com/oasislabs/oasis-core/go/ias/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/ias/api" ) var ( diff --git a/go/ias/init.go b/go/ias/init.go index 0bf739d5ee4..4f5a58ad7ab 100644 --- a/go/ias/init.go +++ b/go/ias/init.go @@ -5,12 +5,12 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" - "github.com/oasislabs/oasis-core/go/ias/api" - "github.com/oasislabs/oasis-core/go/ias/proxy/client" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/ias/api" + "github.com/oasisprotocol/oasis-core/go/ias/proxy/client" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" ) const ( diff --git a/go/ias/proxy/client/client.go b/go/ias/proxy/client/client.go index 3e23683a8e7..951eb6f092e 100644 --- a/go/ias/proxy/client/client.go +++ b/go/ias/proxy/client/client.go @@ -10,13 +10,13 @@ import ( "google.golang.org/grpc" "google.golang.org/grpc/credentials" - tlsCert "github.com/oasislabs/oasis-core/go/common/crypto/tls" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" - "github.com/oasislabs/oasis-core/go/ias/api" - "github.com/oasislabs/oasis-core/go/ias/proxy" + tlsCert "github.com/oasisprotocol/oasis-core/go/common/crypto/tls" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/ias/api" + "github.com/oasisprotocol/oasis-core/go/ias/proxy" ) var _ api.Endpoint = (*proxyClient)(nil) diff --git a/go/ias/proxy/proxy.go b/go/ias/proxy/proxy.go index 52411c464fb..40ef4857694 100644 --- a/go/ias/proxy/proxy.go +++ b/go/ias/proxy/proxy.go @@ -4,9 +4,9 @@ package proxy import ( "context" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" - "github.com/oasislabs/oasis-core/go/ias/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/ias/api" ) // CommonName is the CommonName for the IAS proxy TLS certificate. diff --git a/go/keymanager/api/api.go b/go/keymanager/api/api.go index f6348495cf2..febe9731226 100644 --- a/go/keymanager/api/api.go +++ b/go/keymanager/api/api.go @@ -6,16 +6,16 @@ import ( "fmt" "time" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) const ( diff --git a/go/keymanager/api/grpc.go b/go/keymanager/api/grpc.go index 38389aba5a4..23670339804 100644 --- a/go/keymanager/api/grpc.go +++ b/go/keymanager/api/grpc.go @@ -6,10 +6,10 @@ import ( "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/cbor" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - registry "github.com/oasislabs/oasis-core/go/registry/api" - enclaverpc "github.com/oasislabs/oasis-core/go/runtime/enclaverpc/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + enclaverpc "github.com/oasisprotocol/oasis-core/go/runtime/enclaverpc/api" ) var ( diff --git a/go/keymanager/api/policy_sgx.go b/go/keymanager/api/policy_sgx.go index f4d80caa571..074d54e786f 100644 --- a/go/keymanager/api/policy_sgx.go +++ b/go/keymanager/api/policy_sgx.go @@ -3,10 +3,10 @@ package api import ( "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/sgx" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/sgx" ) // PolicySGXSignatureContext is the context used to sign PolicySGX documents. diff --git a/go/keymanager/client/client.go b/go/keymanager/client/client.go index e5236fdd0a5..b298cf83f27 100644 --- a/go/keymanager/client/client.go +++ b/go/keymanager/client/client.go @@ -12,15 +12,15 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/keymanager/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/runtime/committee" - enclaverpc "github.com/oasislabs/oasis-core/go/runtime/enclaverpc/api" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/keymanager/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/runtime/committee" + enclaverpc "github.com/oasisprotocol/oasis-core/go/runtime/enclaverpc/api" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" ) const ( diff --git a/go/oasis-net-runner/cmd/root.go b/go/oasis-net-runner/cmd/root.go index 8b5faf94644..3676d63be56 100644 --- a/go/oasis-net-runner/cmd/root.go +++ b/go/oasis-net-runner/cmd/root.go @@ -11,12 +11,12 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/version" - "github.com/oasislabs/oasis-core/go/oasis-net-runner/fixtures" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/version" + "github.com/oasisprotocol/oasis-core/go/oasis-net-runner/fixtures" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" ) const ( diff --git a/go/oasis-net-runner/fixtures/default.go b/go/oasis-net-runner/fixtures/default.go index feec748672b..4b085fd612b 100644 --- a/go/oasis-net-runner/fixtures/default.go +++ b/go/oasis-net-runner/fixtures/default.go @@ -6,11 +6,11 @@ import ( "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/sgx" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) const ( diff --git a/go/oasis-net-runner/fixtures/file.go b/go/oasis-net-runner/fixtures/file.go index b4afb03aeb1..fddbf2e5a86 100644 --- a/go/oasis-net-runner/fixtures/file.go +++ b/go/oasis-net-runner/fixtures/file.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" ) const ( diff --git a/go/oasis-net-runner/fixtures/fixtures.go b/go/oasis-net-runner/fixtures/fixtures.go index afd980c0f49..2b0c4d16c77 100644 --- a/go/oasis-net-runner/fixtures/fixtures.go +++ b/go/oasis-net-runner/fixtures/fixtures.go @@ -7,7 +7,7 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" ) var ( diff --git a/go/oasis-net-runner/net-runner.go b/go/oasis-net-runner/net-runner.go index 238adc1b9e3..1779bf6da0c 100644 --- a/go/oasis-net-runner/net-runner.go +++ b/go/oasis-net-runner/net-runner.go @@ -1,7 +1,7 @@ // Oasis "network" runner (for testing only). package main -import "github.com/oasislabs/oasis-core/go/oasis-net-runner/cmd" +import "github.com/oasisprotocol/oasis-core/go/oasis-net-runner/cmd" func main() { cmd.Execute() diff --git a/go/oasis-node/cmd/common/background/service_manager.go b/go/oasis-node/cmd/common/background/service_manager.go index 93569fe7cf6..a47148352eb 100644 --- a/go/oasis-node/cmd/common/background/service_manager.go +++ b/go/oasis-node/cmd/common/background/service_manager.go @@ -8,8 +8,8 @@ import ( "os/signal" "syscall" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/service" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/service" ) // ServiceManager manages a group of background services. diff --git a/go/oasis-node/cmd/common/common.go b/go/oasis-node/cmd/common/common.go index 6ad5f1d5ad9..3280dc7be5a 100644 --- a/go/oasis-node/cmd/common/common.go +++ b/go/oasis-node/cmd/common/common.go @@ -12,13 +12,13 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdSigner "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/signer" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdSigner "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/signer" ) const ( diff --git a/go/oasis-node/cmd/common/consensus/consensus.go b/go/oasis-node/cmd/common/consensus/consensus.go index 54cf2b3aaf7..22fd944cbf9 100644 --- a/go/oasis-node/cmd/common/consensus/consensus.go +++ b/go/oasis-node/cmd/common/consensus/consensus.go @@ -9,13 +9,13 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - genesisAPI "github.com/oasislabs/oasis-core/go/genesis/api" - genesisFile "github.com/oasislabs/oasis-core/go/genesis/file" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdSigner "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/signer" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + genesisAPI "github.com/oasisprotocol/oasis-core/go/genesis/api" + genesisFile "github.com/oasisprotocol/oasis-core/go/genesis/file" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdSigner "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/signer" ) const ( diff --git a/go/oasis-node/cmd/common/grpc/grpc.go b/go/oasis-node/cmd/common/grpc/grpc.go index 8c1c8499952..f3174cac28c 100644 --- a/go/oasis-node/cmd/common/grpc/grpc.go +++ b/go/oasis-node/cmd/common/grpc/grpc.go @@ -13,11 +13,11 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" ) const ( diff --git a/go/oasis-node/cmd/common/logging.go b/go/oasis-node/cmd/common/logging.go index 9f97fa4c266..471f0025519 100644 --- a/go/oasis-node/cmd/common/logging.go +++ b/go/oasis-node/cmd/common/logging.go @@ -7,7 +7,7 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/logging" ) const ( diff --git a/go/oasis-node/cmd/common/metrics/disk.go b/go/oasis-node/cmd/common/metrics/disk.go index ede73f34360..c6f24eccdb1 100644 --- a/go/oasis-node/cmd/common/metrics/disk.go +++ b/go/oasis-node/cmd/common/metrics/disk.go @@ -9,7 +9,7 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/prometheus/procfs" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" ) const ( diff --git a/go/oasis-node/cmd/common/metrics/metrics.go b/go/oasis-node/cmd/common/metrics/metrics.go index 7b9a9dbf9d6..e8fa3a11acd 100644 --- a/go/oasis-node/cmd/common/metrics/metrics.go +++ b/go/oasis-node/cmd/common/metrics/metrics.go @@ -16,10 +16,10 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/service" - "github.com/oasislabs/oasis-core/go/common/version" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/common/service" + "github.com/oasisprotocol/oasis-core/go/common/version" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" ) const ( diff --git a/go/oasis-node/cmd/common/metrics/resource.go b/go/oasis-node/cmd/common/metrics/resource.go index 602cdd8f42c..214199befda 100644 --- a/go/oasis-node/cmd/common/metrics/resource.go +++ b/go/oasis-node/cmd/common/metrics/resource.go @@ -3,7 +3,7 @@ package metrics import ( "time" - "github.com/oasislabs/oasis-core/go/common/service" + "github.com/oasisprotocol/oasis-core/go/common/service" ) // ResourceCollector is interface for monitoring resources (cpu, mem, disk, net). diff --git a/go/oasis-node/cmd/common/pprof/pprof.go b/go/oasis-node/cmd/common/pprof/pprof.go index 11b73dce7a5..b863a7c0cbe 100644 --- a/go/oasis-node/cmd/common/pprof/pprof.go +++ b/go/oasis-node/cmd/common/pprof/pprof.go @@ -15,7 +15,7 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/service" + "github.com/oasisprotocol/oasis-core/go/common/service" ) const cfgPprofBind = "pprof.bind" diff --git a/go/oasis-node/cmd/common/signer/signer.go b/go/oasis-node/cmd/common/signer/signer.go index 4449a20c52a..8d437c1da0b 100644 --- a/go/oasis-node/cmd/common/signer/signer.go +++ b/go/oasis-node/cmd/common/signer/signer.go @@ -9,13 +9,13 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - compositeSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/composite" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - ledgerSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/ledger" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - remoteSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/remote" - "github.com/oasislabs/oasis-core/go/common/crypto/tls" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + compositeSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/composite" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + ledgerSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/ledger" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + remoteSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/remote" + "github.com/oasisprotocol/oasis-core/go/common/crypto/tls" ) const ( diff --git a/go/oasis-node/cmd/common/signer/signer_test.go b/go/oasis-node/cmd/common/signer/signer_test.go index 75fe44ed36a..232c2a4a935 100644 --- a/go/oasis-node/cmd/common/signer/signer_test.go +++ b/go/oasis-node/cmd/common/signer/signer_test.go @@ -9,9 +9,9 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" ) func TestCompositeCtor(t *testing.T) { diff --git a/go/oasis-node/cmd/common/tracing/tracing.go b/go/oasis-node/cmd/common/tracing/tracing.go index 87a87e7cf38..5c4d13e71a7 100644 --- a/go/oasis-node/cmd/common/tracing/tracing.go +++ b/go/oasis-node/cmd/common/tracing/tracing.go @@ -10,8 +10,8 @@ import ( "github.com/spf13/viper" jaegercfg "github.com/uber/jaeger-client-go/config" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/service" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/service" ) const ( diff --git a/go/oasis-node/cmd/consensus/consensus.go b/go/oasis-node/cmd/consensus/consensus.go index 98b8bc45a5c..fd1d2502b28 100644 --- a/go/oasis-node/cmd/consensus/consensus.go +++ b/go/oasis-node/cmd/consensus/consensus.go @@ -11,13 +11,13 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdConsensus "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/consensus" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdConsensus "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/consensus" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" ) var ( diff --git a/go/oasis-node/cmd/control/control.go b/go/oasis-node/cmd/control/control.go index ae65fe0b6c9..9e567b7be3b 100644 --- a/go/oasis-node/cmd/control/control.go +++ b/go/oasis-node/cmd/control/control.go @@ -11,11 +11,11 @@ import ( "github.com/spf13/cobra" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/logging" - control "github.com/oasislabs/oasis-core/go/control/api" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - upgrade "github.com/oasislabs/oasis-core/go/upgrade/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + control "github.com/oasisprotocol/oasis-core/go/control/api" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + upgrade "github.com/oasisprotocol/oasis-core/go/upgrade/api" ) var ( diff --git a/go/oasis-node/cmd/debug/byzantine/byzantine.go b/go/oasis-node/cmd/debug/byzantine/byzantine.go index 04e80c5d06b..6d966143451 100644 --- a/go/oasis-node/cmd/debug/byzantine/byzantine.go +++ b/go/oasis-node/cmd/debug/byzantine/byzantine.go @@ -8,22 +8,22 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" - "github.com/oasislabs/oasis-core/go/consensus/tendermint" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/metrics" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/metrics" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) const ( diff --git a/go/oasis-node/cmd/debug/byzantine/epochtime.go b/go/oasis-node/cmd/debug/byzantine/epochtime.go index 99e7cba4401..b6bb9f6baa7 100644 --- a/go/oasis-node/cmd/debug/byzantine/epochtime.go +++ b/go/oasis-node/cmd/debug/byzantine/epochtime.go @@ -1,8 +1,8 @@ package byzantine import ( - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) func epochtimeWaitForEpoch(svc service.TendermintService, epoch epochtime.EpochTime) error { diff --git a/go/oasis-node/cmd/debug/byzantine/executor.go b/go/oasis-node/cmd/debug/byzantine/executor.go index 2c61c057564..6aa6bbe151a 100644 --- a/go/oasis-node/cmd/debug/byzantine/executor.go +++ b/go/oasis-node/cmd/debug/byzantine/executor.go @@ -4,20 +4,20 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - storage "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" ) type computeBatchContext struct { diff --git a/go/oasis-node/cmd/debug/byzantine/merge.go b/go/oasis-node/cmd/debug/byzantine/merge.go index 1b211f6d5e6..7b141897ead 100644 --- a/go/oasis-node/cmd/debug/byzantine/merge.go +++ b/go/oasis-node/cmd/debug/byzantine/merge.go @@ -4,14 +4,14 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" - storage "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" ) type mergeBatchContext struct { diff --git a/go/oasis-node/cmd/debug/byzantine/p2p.go b/go/oasis-node/cmd/debug/byzantine/p2p.go index be71fbc0456..c947f6f0304 100644 --- a/go/oasis-node/cmd/debug/byzantine/p2p.go +++ b/go/oasis-node/cmd/debug/byzantine/p2p.go @@ -4,10 +4,10 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" ) var _ p2p.Handler = (*p2pRecvHandler)(nil) diff --git a/go/oasis-node/cmd/debug/byzantine/registry.go b/go/oasis-node/cmd/debug/byzantine/registry.go index 1332f15838e..4fef8f39cca 100644 --- a/go/oasis-node/cmd/debug/byzantine/registry.go +++ b/go/oasis-node/cmd/debug/byzantine/registry.go @@ -4,15 +4,15 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) func registryRegisterNode(svc service.TendermintService, id *identity.Identity, dataDir string, addresses []node.Address, p2pAddresses []node.Address, runtimeID common.Namespace, capabilities *node.Capabilities, roles node.RolesMask) error { diff --git a/go/oasis-node/cmd/debug/byzantine/roothash.go b/go/oasis-node/cmd/debug/byzantine/roothash.go index 97af207221d..dbd5645efed 100644 --- a/go/oasis-node/cmd/debug/byzantine/roothash.go +++ b/go/oasis-node/cmd/debug/byzantine/roothash.go @@ -3,13 +3,13 @@ package byzantine import ( "context" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/identity" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/identity" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" ) func roothashGetLatestBlock(ht *honestTendermint, height int64, runtimeID common.Namespace) (*block.Block, error) { diff --git a/go/oasis-node/cmd/debug/byzantine/scheduler.go b/go/oasis-node/cmd/debug/byzantine/scheduler.go index 6468d4d8a8a..78860794e30 100644 --- a/go/oasis-node/cmd/debug/byzantine/scheduler.go +++ b/go/oasis-node/cmd/debug/byzantine/scheduler.go @@ -7,14 +7,14 @@ import ( tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/node" - schedulerapp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/scheduler" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/node" + schedulerapp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/scheduler" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" ) func schedulerNextElectionHeight(svc service.TendermintService, kind scheduler.CommitteeKind) (int64, error) { diff --git a/go/oasis-node/cmd/debug/byzantine/scheduler_test.go b/go/oasis-node/cmd/debug/byzantine/scheduler_test.go index 60a4016566a..d36a5c30c14 100644 --- a/go/oasis-node/cmd/debug/byzantine/scheduler_test.go +++ b/go/oasis-node/cmd/debug/byzantine/scheduler_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/beacon" - schedulerapp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/scheduler" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/beacon" + schedulerapp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/scheduler" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" ) func hasSuitablePermutations(t *testing.T, beacon []byte, runtimeID common.Namespace) bool { diff --git a/go/oasis-node/cmd/debug/byzantine/steps.go b/go/oasis-node/cmd/debug/byzantine/steps.go index b4848be68ea..ebb9c25bfc8 100644 --- a/go/oasis-node/cmd/debug/byzantine/steps.go +++ b/go/oasis-node/cmd/debug/byzantine/steps.go @@ -9,15 +9,15 @@ import ( "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/sgx" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" ) const ( diff --git a/go/oasis-node/cmd/debug/byzantine/steps_test.go b/go/oasis-node/cmd/debug/byzantine/steps_test.go index 283fd97602c..fdb98a72935 100644 --- a/go/oasis-node/cmd/debug/byzantine/steps_test.go +++ b/go/oasis-node/cmd/debug/byzantine/steps_test.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" ) func TestFakeCapabilitySGX(t *testing.T) { diff --git a/go/oasis-node/cmd/debug/byzantine/storage.go b/go/oasis-node/cmd/debug/byzantine/storage.go index 525992b60e1..3129ecc75f5 100644 --- a/go/oasis-node/cmd/debug/byzantine/storage.go +++ b/go/oasis-node/cmd/debug/byzantine/storage.go @@ -11,15 +11,15 @@ import ( "google.golang.org/grpc/resolver" "google.golang.org/grpc/resolver/manual" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/node" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - storage "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/checkpoint" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/node" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/checkpoint" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" ) var _ storage.Backend = (*honestNodeStorage)(nil) diff --git a/go/oasis-node/cmd/debug/byzantine/tendermint.go b/go/oasis-node/cmd/debug/byzantine/tendermint.go index 8af3b5c9dbb..3d885198c4b 100644 --- a/go/oasis-node/cmd/debug/byzantine/tendermint.go +++ b/go/oasis-node/cmd/debug/byzantine/tendermint.go @@ -4,11 +4,11 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/consensus/tendermint" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - genesis "github.com/oasislabs/oasis-core/go/genesis/file" - "github.com/oasislabs/oasis-core/go/upgrade" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/file" + "github.com/oasisprotocol/oasis-core/go/upgrade" ) type honestTendermint struct { diff --git a/go/oasis-node/cmd/debug/consim/consim.go b/go/oasis-node/cmd/debug/consim/consim.go index 67d1ac08b31..ca01e262822 100644 --- a/go/oasis-node/cmd/debug/consim/consim.go +++ b/go/oasis-node/cmd/debug/consim/consim.go @@ -16,15 +16,15 @@ import ( "github.com/tendermint/tendermint/abci/types" tmtypes "github.com/tendermint/tendermint/types" - "github.com/oasislabs/oasis-core/go/common/crypto/drbg" - "github.com/oasislabs/oasis-core/go/common/crypto/mathrand" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - registryApp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry" - stakingApp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking" - genesisFile "github.com/oasislabs/oasis-core/go/genesis/file" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/common/crypto/drbg" + "github.com/oasisprotocol/oasis-core/go/common/crypto/mathrand" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + registryApp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry" + stakingApp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking" + genesisFile "github.com/oasisprotocol/oasis-core/go/genesis/file" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" ) const ( diff --git a/go/oasis-node/cmd/debug/consim/file_workload.go b/go/oasis-node/cmd/debug/consim/file_workload.go index 4bbd459c0f1..366ba0b19fc 100644 --- a/go/oasis-node/cmd/debug/consim/file_workload.go +++ b/go/oasis-node/cmd/debug/consim/file_workload.go @@ -10,7 +10,7 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" ) const ( diff --git a/go/oasis-node/cmd/debug/consim/mockchain.go b/go/oasis-node/cmd/debug/consim/mockchain.go index 62a370b839d..cdf784cbc24 100644 --- a/go/oasis-node/cmd/debug/consim/mockchain.go +++ b/go/oasis-node/cmd/debug/consim/mockchain.go @@ -11,12 +11,12 @@ import ( "github.com/tendermint/tendermint/abci/types" - "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - registryApp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry" - stakingApp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - "github.com/oasislabs/oasis-core/go/upgrade" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + registryApp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry" + stakingApp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + "github.com/oasisprotocol/oasis-core/go/upgrade" ) type mockChainCfg struct { diff --git a/go/oasis-node/cmd/debug/consim/timesource.go b/go/oasis-node/cmd/debug/consim/timesource.go index eb5d64d7bc5..ecaab1b0d38 100644 --- a/go/oasis-node/cmd/debug/consim/timesource.go +++ b/go/oasis-node/cmd/debug/consim/timesource.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) type simTimeSource struct { diff --git a/go/oasis-node/cmd/debug/consim/workload.go b/go/oasis-node/cmd/debug/consim/workload.go index c544de75a2d..806cc4f7de3 100644 --- a/go/oasis-node/cmd/debug/consim/workload.go +++ b/go/oasis-node/cmd/debug/consim/workload.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/viper" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" ) // Tx is a single transaction, and the expected Check/DeliverTx status diff --git a/go/oasis-node/cmd/debug/consim/xfer_workload.go b/go/oasis-node/cmd/debug/consim/xfer_workload.go index 2f74e55751e..5bef0c05d63 100644 --- a/go/oasis-node/cmd/debug/consim/xfer_workload.go +++ b/go/oasis-node/cmd/debug/consim/xfer_workload.go @@ -7,15 +7,15 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - consensusGenesis "github.com/oasislabs/oasis-core/go/consensus/genesis" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + consensusGenesis "github.com/oasisprotocol/oasis-core/go/consensus/genesis" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const ( diff --git a/go/oasis-node/cmd/debug/control/control.go b/go/oasis-node/cmd/debug/control/control.go index 6693904bd21..a5c38a0481e 100644 --- a/go/oasis-node/cmd/debug/control/control.go +++ b/go/oasis-node/cmd/debug/control/control.go @@ -8,11 +8,11 @@ import ( "github.com/spf13/cobra" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/logging" - control "github.com/oasislabs/oasis-core/go/control/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/logging" + control "github.com/oasisprotocol/oasis-core/go/control/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" ) var ( diff --git a/go/oasis-node/cmd/debug/debug.go b/go/oasis-node/cmd/debug/debug.go index a94dec80183..67249a2ce3a 100644 --- a/go/oasis-node/cmd/debug/debug.go +++ b/go/oasis-node/cmd/debug/debug.go @@ -4,13 +4,13 @@ package debug import ( "github.com/spf13/cobra" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/byzantine" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/consim" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/control" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/dumpdb" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/fixgenesis" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/storage" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/txsource" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/byzantine" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/consim" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/control" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/dumpdb" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/fixgenesis" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/storage" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/txsource" ) var debugCmd = &cobra.Command{ diff --git a/go/oasis-node/cmd/debug/dumpdb/dumpdb.go b/go/oasis-node/cmd/debug/dumpdb/dumpdb.go index 6165ec92944..d660197a907 100644 --- a/go/oasis-node/cmd/debug/dumpdb/dumpdb.go +++ b/go/oasis-node/cmd/debug/dumpdb/dumpdb.go @@ -12,31 +12,31 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - beacon "github.com/oasislabs/oasis-core/go/beacon/api" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/genesis" - tendermint "github.com/oasislabs/oasis-core/go/consensus/tendermint" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - abciState "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci/state" - tendermintAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - beaconApp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/beacon" - keymanagerApp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/keymanager" - registryApp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry" - roothashApp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/roothash" - schedulerApp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/scheduler" - stakingApp "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - genesisFile "github.com/oasislabs/oasis-core/go/genesis/file" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - registry "github.com/oasislabs/oasis-core/go/registry/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" - storage "github.com/oasislabs/oasis-core/go/storage/api" - storageDB "github.com/oasislabs/oasis-core/go/storage/database" + beacon "github.com/oasisprotocol/oasis-core/go/beacon/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/genesis" + tendermint "github.com/oasisprotocol/oasis-core/go/consensus/tendermint" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + abciState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci/state" + tendermintAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + beaconApp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/beacon" + keymanagerApp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/keymanager" + registryApp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry" + roothashApp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/roothash" + schedulerApp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/scheduler" + stakingApp "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + genesisFile "github.com/oasisprotocol/oasis-core/go/genesis/file" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + storageDB "github.com/oasisprotocol/oasis-core/go/storage/database" "encoding/json" ) diff --git a/go/oasis-node/cmd/debug/fixgenesis/fixgenesis.go b/go/oasis-node/cmd/debug/fixgenesis/fixgenesis.go index 8b9337786fb..853724f7e51 100644 --- a/go/oasis-node/cmd/debug/fixgenesis/fixgenesis.go +++ b/go/oasis-node/cmd/debug/fixgenesis/fixgenesis.go @@ -11,18 +11,18 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - beacon "github.com/oasislabs/oasis-core/go/beacon/api" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/genesis" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - registry "github.com/oasislabs/oasis-core/go/registry/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + beacon "github.com/oasisprotocol/oasis-core/go/beacon/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/genesis" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const cfgNewGenesis = "genesis.new_file" diff --git a/go/oasis-node/cmd/debug/storage/benchmark.go b/go/oasis-node/cmd/debug/storage/benchmark.go index 4f59a302ebe..d4f33860af4 100644 --- a/go/oasis-node/cmd/debug/storage/benchmark.go +++ b/go/oasis-node/cmd/debug/storage/benchmark.go @@ -16,14 +16,14 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/storage" - storageAPI "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/storage" + storageAPI "github.com/oasisprotocol/oasis-core/go/storage/api" ) const ( diff --git a/go/oasis-node/cmd/debug/storage/export.go b/go/oasis-node/cmd/debug/storage/export.go index 3fa0e7212ce..257f8043dd4 100644 --- a/go/oasis-node/cmd/debug/storage/export.go +++ b/go/oasis-node/cmd/debug/storage/export.go @@ -13,16 +13,16 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdConsensus "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/consensus" - registry "github.com/oasislabs/oasis-core/go/registry/api" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" - "github.com/oasislabs/oasis-core/go/storage" - storageAPI "github.com/oasislabs/oasis-core/go/storage/api" - storageClient "github.com/oasislabs/oasis-core/go/storage/client" - storageDatabase "github.com/oasislabs/oasis-core/go/storage/database" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/common" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdConsensus "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/consensus" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" + "github.com/oasisprotocol/oasis-core/go/storage" + storageAPI "github.com/oasisprotocol/oasis-core/go/storage/api" + storageClient "github.com/oasisprotocol/oasis-core/go/storage/client" + storageDatabase "github.com/oasisprotocol/oasis-core/go/storage/database" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) const cfgExportDir = "storage.export.dir" diff --git a/go/oasis-node/cmd/debug/storage/storage.go b/go/oasis-node/cmd/debug/storage/storage.go index 329b031c8bc..14708d5276d 100644 --- a/go/oasis-node/cmd/debug/storage/storage.go +++ b/go/oasis-node/cmd/debug/storage/storage.go @@ -9,18 +9,18 @@ import ( "github.com/spf13/cobra" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/logging" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - cmdControl "github.com/oasislabs/oasis-core/go/oasis-node/cmd/control" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - runtimeClient "github.com/oasislabs/oasis-core/go/runtime/client/api" - "github.com/oasislabs/oasis-core/go/storage" - storageAPI "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - storageWorkerAPI "github.com/oasislabs/oasis-core/go/worker/storage/api" - "github.com/oasislabs/oasis-core/go/worker/storage/committee" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/logging" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + cmdControl "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/control" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + runtimeClient "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + "github.com/oasisprotocol/oasis-core/go/storage" + storageAPI "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + storageWorkerAPI "github.com/oasisprotocol/oasis-core/go/worker/storage/api" + "github.com/oasisprotocol/oasis-core/go/worker/storage/committee" ) const ( diff --git a/go/oasis-node/cmd/debug/supplementarysanity/supplementarysanity.go b/go/oasis-node/cmd/debug/supplementarysanity/supplementarysanity.go index fb9ace5630c..62632e9939b 100644 --- a/go/oasis-node/cmd/debug/supplementarysanity/supplementarysanity.go +++ b/go/oasis-node/cmd/debug/supplementarysanity/supplementarysanity.go @@ -6,8 +6,8 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - app "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/supplementarysanity" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" + app "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/supplementarysanity" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" ) // Flags has the configuration flags. diff --git a/go/oasis-node/cmd/debug/txsource/txsource.go b/go/oasis-node/cmd/debug/txsource/txsource.go index 7fe443e9ad4..ac53f834fc7 100644 --- a/go/oasis-node/cmd/debug/txsource/txsource.go +++ b/go/oasis-node/cmd/debug/txsource/txsource.go @@ -10,18 +10,18 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/crypto/drbg" - "github.com/oasislabs/oasis-core/go/common/crypto/mathrand" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/control/api" - genesisFile "github.com/oasislabs/oasis-core/go/genesis/file" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/txsource/workload" + "github.com/oasisprotocol/oasis-core/go/common/crypto/drbg" + "github.com/oasisprotocol/oasis-core/go/common/crypto/mathrand" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/control/api" + genesisFile "github.com/oasisprotocol/oasis-core/go/genesis/file" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/txsource/workload" ) const ( diff --git a/go/oasis-node/cmd/debug/txsource/workload/commission.go b/go/oasis-node/cmd/debug/txsource/workload/commission.go index 9285bd4675c..e92921e41d2 100644 --- a/go/oasis-node/cmd/debug/txsource/workload/commission.go +++ b/go/oasis-node/cmd/debug/txsource/workload/commission.go @@ -8,13 +8,13 @@ import ( "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const ( diff --git a/go/oasis-node/cmd/debug/txsource/workload/delegation.go b/go/oasis-node/cmd/debug/txsource/workload/delegation.go index 2acd3ab88c7..4dab006935d 100644 --- a/go/oasis-node/cmd/debug/txsource/workload/delegation.go +++ b/go/oasis-node/cmd/debug/txsource/workload/delegation.go @@ -8,12 +8,12 @@ import ( "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const ( diff --git a/go/oasis-node/cmd/debug/txsource/workload/oversized.go b/go/oasis-node/cmd/debug/txsource/workload/oversized.go index 08b8bc0cacd..d637c66fe89 100644 --- a/go/oasis-node/cmd/debug/txsource/workload/oversized.go +++ b/go/oasis-node/cmd/debug/txsource/workload/oversized.go @@ -8,13 +8,13 @@ import ( "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - consensusGenesis "github.com/oasislabs/oasis-core/go/consensus/genesis" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + consensusGenesis "github.com/oasisprotocol/oasis-core/go/consensus/genesis" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const ( diff --git a/go/oasis-node/cmd/debug/txsource/workload/parallel.go b/go/oasis-node/cmd/debug/txsource/workload/parallel.go index fae3f6bc12a..a1fe153a6b6 100644 --- a/go/oasis-node/cmd/debug/txsource/workload/parallel.go +++ b/go/oasis-node/cmd/debug/txsource/workload/parallel.go @@ -9,12 +9,12 @@ import ( "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const ( diff --git a/go/oasis-node/cmd/debug/txsource/workload/queries.go b/go/oasis-node/cmd/debug/txsource/workload/queries.go index e9cdc052ba0..ee1eff0b360 100644 --- a/go/oasis-node/cmd/debug/txsource/workload/queries.go +++ b/go/oasis-node/cmd/debug/txsource/workload/queries.go @@ -10,18 +10,18 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/quantity" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - runtimeClient "github.com/oasislabs/oasis-core/go/runtime/client/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + runtimeClient "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const ( diff --git a/go/oasis-node/cmd/debug/txsource/workload/registration.go b/go/oasis-node/cmd/debug/txsource/workload/registration.go index 0be967cc8f4..573b61087fd 100644 --- a/go/oasis-node/cmd/debug/txsource/workload/registration.go +++ b/go/oasis-node/cmd/debug/txsource/workload/registration.go @@ -12,17 +12,17 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) const ( diff --git a/go/oasis-node/cmd/debug/txsource/workload/runtime.go b/go/oasis-node/cmd/debug/txsource/workload/runtime.go index bbb666c81dc..6db3b884841 100644 --- a/go/oasis-node/cmd/debug/txsource/workload/runtime.go +++ b/go/oasis-node/cmd/debug/txsource/workload/runtime.go @@ -10,13 +10,13 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - runtimeClient "github.com/oasislabs/oasis-core/go/runtime/client/api" - runtimeTransaction "github.com/oasislabs/oasis-core/go/runtime/transaction" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + runtimeClient "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + runtimeTransaction "github.com/oasisprotocol/oasis-core/go/runtime/transaction" ) const ( diff --git a/go/oasis-node/cmd/debug/txsource/workload/transfer.go b/go/oasis-node/cmd/debug/txsource/workload/transfer.go index 49251d9a8d5..960b2a59ff8 100644 --- a/go/oasis-node/cmd/debug/txsource/workload/transfer.go +++ b/go/oasis-node/cmd/debug/txsource/workload/transfer.go @@ -7,13 +7,13 @@ import ( "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/quantity" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const ( diff --git a/go/oasis-node/cmd/debug/txsource/workload/workload.go b/go/oasis-node/cmd/debug/txsource/workload/workload.go index d56b1f1fe5f..578ab919a87 100644 --- a/go/oasis-node/cmd/debug/txsource/workload/workload.go +++ b/go/oasis-node/cmd/debug/txsource/workload/workload.go @@ -10,12 +10,12 @@ import ( flag "github.com/spf13/pflag" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const ( diff --git a/go/oasis-node/cmd/genesis/genesis.go b/go/oasis-node/cmd/genesis/genesis.go index 779fa6d909c..5b600972fbf 100644 --- a/go/oasis-node/cmd/genesis/genesis.go +++ b/go/oasis-node/cmd/genesis/genesis.go @@ -16,29 +16,29 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - beacon "github.com/oasislabs/oasis-core/go/beacon/api" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/quantity" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - consensusGenesis "github.com/oasislabs/oasis-core/go/consensus/genesis" - tendermint "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - genesisFile "github.com/oasislabs/oasis-core/go/genesis/file" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - registry "github.com/oasislabs/oasis-core/go/registry/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" - stakingTests "github.com/oasislabs/oasis-core/go/staking/tests/debug" + beacon "github.com/oasisprotocol/oasis-core/go/beacon/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + consensusGenesis "github.com/oasisprotocol/oasis-core/go/consensus/genesis" + tendermint "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + genesisFile "github.com/oasisprotocol/oasis-core/go/genesis/file" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" + stakingTests "github.com/oasisprotocol/oasis-core/go/staking/tests/debug" ) const ( diff --git a/go/oasis-node/cmd/ias/auth.go b/go/oasis-node/cmd/ias/auth.go index 92ece4c2fa3..00d4605f6f3 100644 --- a/go/oasis-node/cmd/ias/auth.go +++ b/go/oasis-node/cmd/ias/auth.go @@ -4,13 +4,13 @@ import ( "fmt" "sync" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/sgx" - cmnIAS "github.com/oasislabs/oasis-core/go/common/sgx/ias" - ias "github.com/oasislabs/oasis-core/go/ias/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + cmnIAS "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + ias "github.com/oasisprotocol/oasis-core/go/ias/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) type enclaveStore struct { diff --git a/go/oasis-node/cmd/ias/auth_genesis.go b/go/oasis-node/cmd/ias/auth_genesis.go index 1359deaa233..8c4d17c52db 100644 --- a/go/oasis-node/cmd/ias/auth_genesis.go +++ b/go/oasis-node/cmd/ias/auth_genesis.go @@ -3,11 +3,11 @@ package ias import ( "context" - "github.com/oasislabs/oasis-core/go/common/logging" - genesis "github.com/oasislabs/oasis-core/go/genesis/file" - ias "github.com/oasislabs/oasis-core/go/ias/api" - iasProxy "github.com/oasislabs/oasis-core/go/ias/proxy" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/file" + ias "github.com/oasisprotocol/oasis-core/go/ias/api" + iasProxy "github.com/oasisprotocol/oasis-core/go/ias/proxy" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) type genesisAuthenticator struct { diff --git a/go/oasis-node/cmd/ias/auth_registry.go b/go/oasis-node/cmd/ias/auth_registry.go index b42ee1cb9e1..ba8bb8d5205 100644 --- a/go/oasis-node/cmd/ias/auth_registry.go +++ b/go/oasis-node/cmd/ias/auth_registry.go @@ -11,12 +11,12 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - ias "github.com/oasislabs/oasis-core/go/ias/api" - iasProxy "github.com/oasislabs/oasis-core/go/ias/proxy" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + ias "github.com/oasisprotocol/oasis-core/go/ias/api" + iasProxy "github.com/oasisprotocol/oasis-core/go/ias/proxy" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) const registryRetryInterval = 2 * time.Second diff --git a/go/oasis-node/cmd/ias/proxy.go b/go/oasis-node/cmd/ias/proxy.go index 3d7a69b86f2..526ad294636 100644 --- a/go/oasis-node/cmd/ias/proxy.go +++ b/go/oasis-node/cmd/ias/proxy.go @@ -12,19 +12,19 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - tlsCert "github.com/oasislabs/oasis-core/go/common/crypto/tls" - "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/logging" - cmnIAS "github.com/oasislabs/oasis-core/go/common/sgx/ias" - ias "github.com/oasislabs/oasis-core/go/ias/api" - iasHTTP "github.com/oasislabs/oasis-core/go/ias/http" - iasProxy "github.com/oasislabs/oasis-core/go/ias/proxy" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/background" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/metrics" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/pprof" + tlsCert "github.com/oasisprotocol/oasis-core/go/common/crypto/tls" + "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/logging" + cmnIAS "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + ias "github.com/oasisprotocol/oasis-core/go/ias/api" + iasHTTP "github.com/oasisprotocol/oasis-core/go/ias/http" + iasProxy "github.com/oasisprotocol/oasis-core/go/ias/proxy" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/background" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/metrics" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/pprof" ) const ( diff --git a/go/oasis-node/cmd/identity/identity.go b/go/oasis-node/cmd/identity/identity.go index 983a18fa359..a7b5b2c3805 100644 --- a/go/oasis-node/cmd/identity/identity.go +++ b/go/oasis-node/cmd/identity/identity.go @@ -7,13 +7,13 @@ import ( "github.com/spf13/cobra" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/identity/tendermint" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/identity/tendermint" ) var ( diff --git a/go/oasis-node/cmd/identity/tendermint/tendermint.go b/go/oasis-node/cmd/identity/tendermint/tendermint.go index e3d4fbbf9a1..c3adf7576aa 100644 --- a/go/oasis-node/cmd/identity/tendermint/tendermint.go +++ b/go/oasis-node/cmd/identity/tendermint/tendermint.go @@ -12,12 +12,12 @@ import ( flag "github.com/spf13/pflag" tmbytes "github.com/tendermint/tendermint/libs/bytes" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" ) var ( diff --git a/go/oasis-node/cmd/keymanager/keymanager.go b/go/oasis-node/cmd/keymanager/keymanager.go index 30dc7753ee7..615a033bbba 100644 --- a/go/oasis-node/cmd/keymanager/keymanager.go +++ b/go/oasis-node/cmd/keymanager/keymanager.go @@ -15,16 +15,16 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/sgx" - kmApi "github.com/oasislabs/oasis-core/go/keymanager/api" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdConsensus "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/consensus" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + kmApi "github.com/oasisprotocol/oasis-core/go/keymanager/api" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdConsensus "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/consensus" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" ) const ( diff --git a/go/oasis-node/cmd/node/node.go b/go/oasis-node/cmd/node/node.go index a5d286d43af..85ccffb37ba 100644 --- a/go/oasis-node/cmd/node/node.go +++ b/go/oasis-node/cmd/node/node.go @@ -12,60 +12,60 @@ import ( "github.com/spf13/cobra" flag "github.com/spf13/pflag" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/persistent" - "github.com/oasislabs/oasis-core/go/common/service" - consensusAPI "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/tendermint" - tmService "github.com/oasislabs/oasis-core/go/consensus/tendermint/service" - tendermintTestsGenesis "github.com/oasislabs/oasis-core/go/consensus/tendermint/tests/genesis" - "github.com/oasislabs/oasis-core/go/control" - controlAPI "github.com/oasislabs/oasis-core/go/control/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - genesisAPI "github.com/oasislabs/oasis-core/go/genesis/api" - genesisFile "github.com/oasislabs/oasis-core/go/genesis/file" - genesisTestHelpers "github.com/oasislabs/oasis-core/go/genesis/tests" - "github.com/oasislabs/oasis-core/go/ias" - iasAPI "github.com/oasislabs/oasis-core/go/ias/api" - keymanagerAPI "github.com/oasislabs/oasis-core/go/keymanager/api" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/background" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/metrics" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/pprof" - cmdSigner "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/signer" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/tracing" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/supplementarysanity" - registryAPI "github.com/oasislabs/oasis-core/go/registry/api" - runtimeClient "github.com/oasislabs/oasis-core/go/runtime/client" - runtimeClientAPI "github.com/oasislabs/oasis-core/go/runtime/client/api" - enclaverpc "github.com/oasislabs/oasis-core/go/runtime/enclaverpc/api" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - "github.com/oasislabs/oasis-core/go/sentry" - sentryAPI "github.com/oasislabs/oasis-core/go/sentry/api" - stakingAPI "github.com/oasislabs/oasis-core/go/staking/api" - "github.com/oasislabs/oasis-core/go/storage" - storageAPI "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/upgrade" - upgradeAPI "github.com/oasislabs/oasis-core/go/upgrade/api" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" - "github.com/oasislabs/oasis-core/go/worker/compute" - "github.com/oasislabs/oasis-core/go/worker/compute/executor" - "github.com/oasislabs/oasis-core/go/worker/compute/merge" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler" - workerConsensusRPC "github.com/oasislabs/oasis-core/go/worker/consensusrpc" - workerKeymanager "github.com/oasislabs/oasis-core/go/worker/keymanager" - "github.com/oasislabs/oasis-core/go/worker/registration" - workerSentry "github.com/oasislabs/oasis-core/go/worker/sentry" - workerStorage "github.com/oasislabs/oasis-core/go/worker/storage" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/persistent" + "github.com/oasisprotocol/oasis-core/go/common/service" + consensusAPI "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint" + tmService "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/service" + tendermintTestsGenesis "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/tests/genesis" + "github.com/oasisprotocol/oasis-core/go/control" + controlAPI "github.com/oasisprotocol/oasis-core/go/control/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + genesisAPI "github.com/oasisprotocol/oasis-core/go/genesis/api" + genesisFile "github.com/oasisprotocol/oasis-core/go/genesis/file" + genesisTestHelpers "github.com/oasisprotocol/oasis-core/go/genesis/tests" + "github.com/oasisprotocol/oasis-core/go/ias" + iasAPI "github.com/oasisprotocol/oasis-core/go/ias/api" + keymanagerAPI "github.com/oasisprotocol/oasis-core/go/keymanager/api" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/background" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/metrics" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/pprof" + cmdSigner "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/signer" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/tracing" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/supplementarysanity" + registryAPI "github.com/oasisprotocol/oasis-core/go/registry/api" + runtimeClient "github.com/oasisprotocol/oasis-core/go/runtime/client" + runtimeClientAPI "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + enclaverpc "github.com/oasisprotocol/oasis-core/go/runtime/enclaverpc/api" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/sentry" + sentryAPI "github.com/oasisprotocol/oasis-core/go/sentry/api" + stakingAPI "github.com/oasisprotocol/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/storage" + storageAPI "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/upgrade" + upgradeAPI "github.com/oasisprotocol/oasis-core/go/upgrade/api" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/worker/compute" + "github.com/oasisprotocol/oasis-core/go/worker/compute/executor" + "github.com/oasisprotocol/oasis-core/go/worker/compute/merge" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler" + workerConsensusRPC "github.com/oasisprotocol/oasis-core/go/worker/consensusrpc" + workerKeymanager "github.com/oasisprotocol/oasis-core/go/worker/keymanager" + "github.com/oasisprotocol/oasis-core/go/worker/registration" + workerSentry "github.com/oasisprotocol/oasis-core/go/worker/sentry" + workerStorage "github.com/oasisprotocol/oasis-core/go/worker/storage" ) var ( diff --git a/go/oasis-node/cmd/node/unsafe_reset.go b/go/oasis-node/cmd/node/unsafe_reset.go index 23551994cc7..d204e75fd26 100644 --- a/go/oasis-node/cmd/node/unsafe_reset.go +++ b/go/oasis-node/cmd/node/unsafe_reset.go @@ -8,12 +8,12 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/consensus/tendermint" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/runtime/history" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/runtime/history" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" ) const ( diff --git a/go/oasis-node/cmd/registry/entity/entity.go b/go/oasis-node/cmd/registry/entity/entity.go index 020e954f585..581ab849e2f 100644 --- a/go/oasis-node/cmd/registry/entity/entity.go +++ b/go/oasis-node/cmd/registry/entity/entity.go @@ -14,17 +14,17 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdConsensus "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/consensus" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - cmdSigner "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/signer" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdConsensus "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/consensus" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + cmdSigner "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/signer" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) const ( diff --git a/go/oasis-node/cmd/registry/node/node.go b/go/oasis-node/cmd/registry/node/node.go index 542c4e70cc2..524dd9e5079 100644 --- a/go/oasis-node/cmd/registry/node/node.go +++ b/go/oasis-node/cmd/registry/node/node.go @@ -15,19 +15,19 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - cmdSigner "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/signer" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/worker/common/configparser" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + cmdSigner "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/signer" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/worker/common/configparser" ) const ( diff --git a/go/oasis-node/cmd/registry/registry.go b/go/oasis-node/cmd/registry/registry.go index 93c1f62f60a..56fe84535e7 100644 --- a/go/oasis-node/cmd/registry/registry.go +++ b/go/oasis-node/cmd/registry/registry.go @@ -4,9 +4,9 @@ package registry import ( "github.com/spf13/cobra" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/registry/entity" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/registry/node" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/registry/runtime" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/registry/entity" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/registry/node" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/registry/runtime" ) var ( diff --git a/go/oasis-node/cmd/registry/runtime/runtime.go b/go/oasis-node/cmd/registry/runtime/runtime.go index f499d1e5c0b..b8d7235454e 100644 --- a/go/oasis-node/cmd/registry/runtime/runtime.go +++ b/go/oasis-node/cmd/registry/runtime/runtime.go @@ -15,23 +15,23 @@ import ( "github.com/spf13/viper" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/sgx" - "github.com/oasislabs/oasis-core/go/common/version" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdConsensus "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/consensus" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - cmdSigner "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/signer" - registry "github.com/oasislabs/oasis-core/go/registry/api" - storage "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + "github.com/oasisprotocol/oasis-core/go/common/version" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdConsensus "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/consensus" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + cmdSigner "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/signer" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" ) const ( diff --git a/go/oasis-node/cmd/root.go b/go/oasis-node/cmd/root.go index 6150894aff7..d7636fbf9de 100644 --- a/go/oasis-node/cmd/root.go +++ b/go/oasis-node/cmd/root.go @@ -6,19 +6,19 @@ import ( "github.com/spf13/cobra" - "github.com/oasislabs/oasis-core/go/common/version" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/consensus" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/control" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/genesis" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/ias" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/identity" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/keymanager" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/node" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/registry" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/signer" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/stake" + "github.com/oasisprotocol/oasis-core/go/common/version" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/consensus" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/control" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/genesis" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/ias" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/identity" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/keymanager" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/node" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/registry" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/signer" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/stake" ) var ( diff --git a/go/oasis-node/cmd/signer/ledger/ledger.go b/go/oasis-node/cmd/signer/ledger/ledger.go index 15faf6e4fc5..0925c8b3d1f 100644 --- a/go/oasis-node/cmd/signer/ledger/ledger.go +++ b/go/oasis-node/cmd/signer/ledger/ledger.go @@ -4,8 +4,8 @@ package ledger import ( "github.com/spf13/cobra" - ledgerCommon "github.com/oasislabs/oasis-core/go/common/ledger" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" + ledgerCommon "github.com/oasisprotocol/oasis-core/go/common/ledger" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" ) var ( diff --git a/go/oasis-node/cmd/signer/signer.go b/go/oasis-node/cmd/signer/signer.go index f100fa91678..9f82a7d4340 100644 --- a/go/oasis-node/cmd/signer/signer.go +++ b/go/oasis-node/cmd/signer/signer.go @@ -6,10 +6,10 @@ import ( "github.com/spf13/cobra" - "github.com/oasislabs/oasis-core/go/common/logging" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdSigner "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/signer" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/signer/ledger" + "github.com/oasisprotocol/oasis-core/go/common/logging" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdSigner "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/signer" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/signer/ledger" ) var ( diff --git a/go/oasis-node/cmd/stake/account.go b/go/oasis-node/cmd/stake/account.go index c542502f5cc..b6714be0619 100644 --- a/go/oasis-node/cmd/stake/account.go +++ b/go/oasis-node/cmd/stake/account.go @@ -11,12 +11,12 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdConsensus "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/consensus" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdConsensus "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/consensus" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const ( diff --git a/go/oasis-node/cmd/stake/stake.go b/go/oasis-node/cmd/stake/stake.go index 885bdac15a9..cdb5a05bcd0 100644 --- a/go/oasis-node/cmd/stake/stake.go +++ b/go/oasis-node/cmd/stake/stake.go @@ -11,15 +11,15 @@ import ( flag "github.com/spf13/pflag" "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/quantity" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + "github.com/oasisprotocol/oasis-core/go/staking/api" ) var ( diff --git a/go/oasis-node/coverage_test.go b/go/oasis-node/coverage_test.go index dc30a139561..298456546a1 100644 --- a/go/oasis-node/coverage_test.go +++ b/go/oasis-node/coverage_test.go @@ -5,7 +5,7 @@ package main import ( "testing" - cmnTesting "github.com/oasislabs/oasis-core/go/common/testing" + cmnTesting "github.com/oasisprotocol/oasis-core/go/common/testing" ) func TestCoverageE2E(t *testing.T) { diff --git a/go/oasis-node/main.go b/go/oasis-node/main.go index 80f18b6a0f0..b54eecd58ff 100644 --- a/go/oasis-node/main.go +++ b/go/oasis-node/main.go @@ -2,7 +2,7 @@ package main import ( - "github.com/oasislabs/oasis-core/go/oasis-node/cmd" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd" ) func main() { diff --git a/go/oasis-node/node_test.go b/go/oasis-node/node_test.go index fb72476122d..0310fe9fcdc 100644 --- a/go/oasis-node/node_test.go +++ b/go/oasis-node/node_test.go @@ -13,44 +13,44 @@ import ( "github.com/stretchr/testify/require" "google.golang.org/grpc" - beaconTests "github.com/oasislabs/oasis-core/go/beacon/tests" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - "github.com/oasislabs/oasis-core/go/common/entity" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - consensusAPI "github.com/oasislabs/oasis-core/go/consensus/api" - consensusTests "github.com/oasislabs/oasis-core/go/consensus/tests" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - epochtimeTests "github.com/oasislabs/oasis-core/go/epochtime/tests" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdCommonFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/supplementarysanity" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/node" - registry "github.com/oasislabs/oasis-core/go/registry/api" - registryTests "github.com/oasislabs/oasis-core/go/registry/tests" - roothashTests "github.com/oasislabs/oasis-core/go/roothash/tests" - runtimeClient "github.com/oasislabs/oasis-core/go/runtime/client/api" - clientTests "github.com/oasislabs/oasis-core/go/runtime/client/tests" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - schedulerTests "github.com/oasislabs/oasis-core/go/scheduler/tests" - staking "github.com/oasislabs/oasis-core/go/staking/api" - stakingTests "github.com/oasislabs/oasis-core/go/staking/tests" - "github.com/oasislabs/oasis-core/go/storage" - storageAPI "github.com/oasislabs/oasis-core/go/storage/api" - storageClient "github.com/oasislabs/oasis-core/go/storage/client" - storageClientTests "github.com/oasislabs/oasis-core/go/storage/client/tests" - storageTests "github.com/oasislabs/oasis-core/go/storage/tests" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/compute" - executorCommittee "github.com/oasislabs/oasis-core/go/worker/compute/executor/committee" - executorWorkerTests "github.com/oasislabs/oasis-core/go/worker/compute/executor/tests" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler" - txnschedulerCommittee "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/committee" - txnschedulerWorkerTests "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/tests" - storageWorker "github.com/oasislabs/oasis-core/go/worker/storage" - storageWorkerTests "github.com/oasislabs/oasis-core/go/worker/storage/tests" + beaconTests "github.com/oasisprotocol/oasis-core/go/beacon/tests" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/entity" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + consensusAPI "github.com/oasisprotocol/oasis-core/go/consensus/api" + consensusTests "github.com/oasisprotocol/oasis-core/go/consensus/tests" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + epochtimeTests "github.com/oasisprotocol/oasis-core/go/epochtime/tests" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdCommonFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/supplementarysanity" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/node" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + registryTests "github.com/oasisprotocol/oasis-core/go/registry/tests" + roothashTests "github.com/oasisprotocol/oasis-core/go/roothash/tests" + runtimeClient "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + clientTests "github.com/oasisprotocol/oasis-core/go/runtime/client/tests" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + schedulerTests "github.com/oasisprotocol/oasis-core/go/scheduler/tests" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" + stakingTests "github.com/oasisprotocol/oasis-core/go/staking/tests" + "github.com/oasisprotocol/oasis-core/go/storage" + storageAPI "github.com/oasisprotocol/oasis-core/go/storage/api" + storageClient "github.com/oasisprotocol/oasis-core/go/storage/client" + storageClientTests "github.com/oasisprotocol/oasis-core/go/storage/client/tests" + storageTests "github.com/oasisprotocol/oasis-core/go/storage/tests" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/compute" + executorCommittee "github.com/oasisprotocol/oasis-core/go/worker/compute/executor/committee" + executorWorkerTests "github.com/oasisprotocol/oasis-core/go/worker/compute/executor/tests" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler" + txnschedulerCommittee "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/committee" + txnschedulerWorkerTests "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/tests" + storageWorker "github.com/oasisprotocol/oasis-core/go/worker/storage" + storageWorkerTests "github.com/oasisprotocol/oasis-core/go/worker/storage/tests" ) const ( diff --git a/go/oasis-remote-signer/cmd/root.go b/go/oasis-remote-signer/cmd/root.go index b97d14e50ec..9ac4fa3a4b8 100644 --- a/go/oasis-remote-signer/cmd/root.go +++ b/go/oasis-remote-signer/cmd/root.go @@ -13,18 +13,18 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/remote" - "github.com/oasislabs/oasis-core/go/common/crypto/tls" - "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/grpc/auth" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/version" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdBackground "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/background" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - cmdSigner "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/signer" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/remote" + "github.com/oasisprotocol/oasis-core/go/common/crypto/tls" + "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/grpc/auth" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/version" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdBackground "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/background" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + cmdSigner "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/signer" ) const ( diff --git a/go/oasis-remote-signer/main.go b/go/oasis-remote-signer/main.go index d5edb1df819..25e72c3ad7e 100644 --- a/go/oasis-remote-signer/main.go +++ b/go/oasis-remote-signer/main.go @@ -2,7 +2,7 @@ package main import ( - "github.com/oasislabs/oasis-core/go/oasis-remote-signer/cmd" + "github.com/oasisprotocol/oasis-core/go/oasis-remote-signer/cmd" ) func main() { diff --git a/go/oasis-test-runner/cmd/cmp/cmp.go b/go/oasis-test-runner/cmd/cmp/cmp.go index 3068027cf19..0237aa66ea7 100644 --- a/go/oasis-test-runner/cmd/cmp/cmp.go +++ b/go/oasis-test-runner/cmd/cmp/cmp.go @@ -14,10 +14,10 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/logging" - nodeCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/metrics" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/cmd/common" + "github.com/oasisprotocol/oasis-core/go/common/logging" + nodeCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/metrics" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/cmd/common" ) const ( diff --git a/go/oasis-test-runner/cmd/common/common.go b/go/oasis-test-runner/cmd/common/common.go index 6e7443bf4c5..81ba890c8bc 100644 --- a/go/oasis-test-runner/cmd/common/common.go +++ b/go/oasis-test-runner/cmd/common/common.go @@ -5,7 +5,7 @@ import ( "fmt" "strings" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) const ( diff --git a/go/oasis-test-runner/cmd/root.go b/go/oasis-test-runner/cmd/root.go index 288ac24ecc6..82cf83571c2 100644 --- a/go/oasis-test-runner/cmd/root.go +++ b/go/oasis-test-runner/cmd/root.go @@ -18,16 +18,16 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/version" - nodeCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - nodeFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/metrics" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/cmd/cmp" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/version" + nodeCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + nodeFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/metrics" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/cmd/cmp" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) const ( diff --git a/go/oasis-test-runner/coverage_test.go b/go/oasis-test-runner/coverage_test.go index dc30a139561..298456546a1 100644 --- a/go/oasis-test-runner/coverage_test.go +++ b/go/oasis-test-runner/coverage_test.go @@ -5,7 +5,7 @@ package main import ( "testing" - cmnTesting "github.com/oasislabs/oasis-core/go/common/testing" + cmnTesting "github.com/oasisprotocol/oasis-core/go/common/testing" ) func TestCoverageE2E(t *testing.T) { diff --git a/go/oasis-test-runner/env/dir.go b/go/oasis-test-runner/env/dir.go index 1df5438f470..042cb438301 100644 --- a/go/oasis-test-runner/env/dir.go +++ b/go/oasis-test-runner/env/dir.go @@ -12,7 +12,7 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common" ) const ( diff --git a/go/oasis-test-runner/oasis/args.go b/go/oasis-test-runner/oasis/args.go index 3fbe64c8b65..59dfaa24d92 100644 --- a/go/oasis-test-runner/oasis/args.go +++ b/go/oasis-test-runner/oasis/args.go @@ -10,31 +10,31 @@ import ( "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - commonGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/sgx" - "github.com/oasislabs/oasis-core/go/consensus/tendermint" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/abci" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/ias" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/metrics" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/byzantine" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/supplementarysanity" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" - "github.com/oasislabs/oasis-core/go/storage" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" - "github.com/oasislabs/oasis-core/go/worker/compute" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler" - workerConsensusRPC "github.com/oasislabs/oasis-core/go/worker/consensusrpc" - "github.com/oasislabs/oasis-core/go/worker/keymanager" - "github.com/oasislabs/oasis-core/go/worker/registration" - workerSentry "github.com/oasislabs/oasis-core/go/worker/sentry" - workerGrpcSentry "github.com/oasislabs/oasis-core/go/worker/sentry/grpc" - workerStorage "github.com/oasislabs/oasis-core/go/worker/storage" + "github.com/oasisprotocol/oasis-core/go/common" + commonGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/abci" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/ias" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/metrics" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/byzantine" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/supplementarysanity" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" + "github.com/oasisprotocol/oasis-core/go/storage" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/worker/compute" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler" + workerConsensusRPC "github.com/oasisprotocol/oasis-core/go/worker/consensusrpc" + "github.com/oasisprotocol/oasis-core/go/worker/keymanager" + "github.com/oasisprotocol/oasis-core/go/worker/registration" + workerSentry "github.com/oasisprotocol/oasis-core/go/worker/sentry" + workerGrpcSentry "github.com/oasisprotocol/oasis-core/go/worker/sentry/grpc" + workerStorage "github.com/oasisprotocol/oasis-core/go/worker/storage" ) type argBuilder struct { diff --git a/go/oasis-test-runner/oasis/byzantine.go b/go/oasis-test-runner/oasis/byzantine.go index 00bca3445fa..0794f5d1147 100644 --- a/go/oasis-test-runner/oasis/byzantine.go +++ b/go/oasis-test-runner/oasis/byzantine.go @@ -3,9 +3,9 @@ package oasis import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/node" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/node" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) // Byzantine is an Oasis byzantine node. diff --git a/go/oasis-test-runner/oasis/cli/cli.go b/go/oasis-test-runner/oasis/cli/cli.go index 49c4dfabf80..b8b0cb7428b 100644 --- a/go/oasis-test-runner/oasis/cli/cli.go +++ b/go/oasis-test-runner/oasis/cli/cli.go @@ -7,9 +7,9 @@ import ( "os/exec" "strings" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" ) type helpersBase struct { diff --git a/go/oasis-test-runner/oasis/cli/consensus.go b/go/oasis-test-runner/oasis/cli/consensus.go index 237c7f883c4..b0ece5bdedc 100644 --- a/go/oasis-test-runner/oasis/cli/consensus.go +++ b/go/oasis-test-runner/oasis/cli/consensus.go @@ -3,9 +3,9 @@ package cli import ( "fmt" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/consensus" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/consensus" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" ) // ConsensusHelpers contains the oasis-node consensus CLI helpers. diff --git a/go/oasis-test-runner/oasis/cli/keymanager.go b/go/oasis-test-runner/oasis/cli/keymanager.go index 427543d4c5f..de805e397c3 100644 --- a/go/oasis-test-runner/oasis/cli/keymanager.go +++ b/go/oasis-test-runner/oasis/cli/keymanager.go @@ -5,13 +5,13 @@ import ( "strconv" "strings" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/sgx" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdConsensus "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/consensus" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdKM "github.com/oasislabs/oasis-core/go/oasis-node/cmd/keymanager" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdConsensus "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/consensus" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdKM "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/keymanager" ) // KeymanagerHelpers contains the oasis-node keymanager CLI helpers. diff --git a/go/oasis-test-runner/oasis/cli/registry.go b/go/oasis-test-runner/oasis/cli/registry.go index 0f3acf37a3e..70bd4dd91da 100644 --- a/go/oasis-test-runner/oasis/cli/registry.go +++ b/go/oasis-test-runner/oasis/cli/registry.go @@ -4,13 +4,13 @@ import ( "fmt" "strconv" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/node" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/consensus" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdRegRt "github.com/oasislabs/oasis-core/go/oasis-node/cmd/registry/runtime" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/node" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/consensus" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdRegRt "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/registry/runtime" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) // RegistryHelpers contains the oasis-node registry CLI helpers. diff --git a/go/oasis-test-runner/oasis/client.go b/go/oasis-test-runner/oasis/client.go index 66e267b6a32..b260585989b 100644 --- a/go/oasis-test-runner/oasis/client.go +++ b/go/oasis-test-runner/oasis/client.go @@ -3,8 +3,8 @@ package oasis import ( "fmt" - registry "github.com/oasislabs/oasis-core/go/registry/api" - storageClient "github.com/oasislabs/oasis-core/go/storage/client" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + storageClient "github.com/oasisprotocol/oasis-core/go/storage/client" ) // Client is an Oasis client node. diff --git a/go/oasis-test-runner/oasis/compute.go b/go/oasis-test-runner/oasis/compute.go index 12b9eead4c9..2a47a9c5044 100644 --- a/go/oasis-test-runner/oasis/compute.go +++ b/go/oasis-test-runner/oasis/compute.go @@ -3,9 +3,9 @@ package oasis import ( "fmt" - registry "github.com/oasislabs/oasis-core/go/registry/api" - storageClient "github.com/oasislabs/oasis-core/go/storage/client" - commonWorker "github.com/oasislabs/oasis-core/go/worker/common" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + storageClient "github.com/oasisprotocol/oasis-core/go/storage/client" + commonWorker "github.com/oasisprotocol/oasis-core/go/worker/common" ) const ( diff --git a/go/oasis-test-runner/oasis/controller.go b/go/oasis-test-runner/oasis/controller.go index 8a9bbf317de..c3907ed1bd5 100644 --- a/go/oasis-test-runner/oasis/controller.go +++ b/go/oasis-test-runner/oasis/controller.go @@ -3,14 +3,14 @@ package oasis import ( "google.golang.org/grpc" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - control "github.com/oasislabs/oasis-core/go/control/api" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - runtimeClient "github.com/oasislabs/oasis-core/go/runtime/client/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" - storage "github.com/oasislabs/oasis-core/go/storage/api" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + control "github.com/oasisprotocol/oasis-core/go/control/api" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + runtimeClient "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" ) // Controller is a network controller that connects to one of the diff --git a/go/oasis-test-runner/oasis/entity.go b/go/oasis-test-runner/oasis/entity.go index bd5c725819a..f610e75ac8d 100644 --- a/go/oasis-test-runner/oasis/entity.go +++ b/go/oasis-test-runner/oasis/entity.go @@ -5,14 +5,14 @@ import ( "io" "path/filepath" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - cmdSigner "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/signer" - cmdEntity "github.com/oasislabs/oasis-core/go/oasis-node/cmd/registry/entity" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + cmdSigner "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/signer" + cmdEntity "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/registry/entity" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" ) const entityIdentitySeedTemplate = "oasis entity %d" diff --git a/go/oasis-test-runner/oasis/fixture.go b/go/oasis-test-runner/oasis/fixture.go index 8c549873c48..7317c925a00 100644 --- a/go/oasis-test-runner/oasis/fixture.go +++ b/go/oasis-test-runner/oasis/fixture.go @@ -4,13 +4,13 @@ import ( "fmt" "time" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/sgx" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/log" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/log" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) // NetworkFixture describes configuration for the test Oasis network and diff --git a/go/oasis-test-runner/oasis/ias.go b/go/oasis-test-runner/oasis/ias.go index 4d979d18527..1825e2da78c 100644 --- a/go/oasis-test-runner/oasis/ias.go +++ b/go/oasis-test-runner/oasis/ias.go @@ -4,9 +4,9 @@ import ( "encoding/hex" "fmt" - tlsCert "github.com/oasislabs/oasis-core/go/common/crypto/tls" - iasProxyApi "github.com/oasislabs/oasis-core/go/ias/proxy" - iasCmd "github.com/oasislabs/oasis-core/go/oasis-node/cmd/ias" + tlsCert "github.com/oasisprotocol/oasis-core/go/common/crypto/tls" + iasProxyApi "github.com/oasisprotocol/oasis-core/go/ias/proxy" + iasCmd "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/ias" ) var mockSPID []byte diff --git a/go/oasis-test-runner/oasis/keymanager.go b/go/oasis-test-runner/oasis/keymanager.go index a93db7868ae..a235b999bb3 100644 --- a/go/oasis-test-runner/oasis/keymanager.go +++ b/go/oasis-test-runner/oasis/keymanager.go @@ -5,14 +5,14 @@ import ( "path/filepath" "strconv" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - kmCmd "github.com/oasislabs/oasis-core/go/oasis-node/cmd/keymanager" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - registry "github.com/oasislabs/oasis-core/go/registry/api" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + kmCmd "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/keymanager" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" ) const ( diff --git a/go/oasis-test-runner/oasis/log.go b/go/oasis-test-runner/oasis/log.go index 542397af479..74f3e814ef1 100644 --- a/go/oasis-test-runner/oasis/log.go +++ b/go/oasis-test-runner/oasis/log.go @@ -1,11 +1,11 @@ package oasis import ( - "github.com/oasislabs/oasis-core/go/common/logging" - tendermint "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/log" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - upgrade "github.com/oasislabs/oasis-core/go/upgrade/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + tendermint "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/log" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + upgrade "github.com/oasisprotocol/oasis-core/go/upgrade/api" ) // LogAssertEvent returns a handler which checks whether a specific log event was diff --git a/go/oasis-test-runner/oasis/oasis.go b/go/oasis-test-runner/oasis/oasis.go index c941771ff5e..7aa5bb1c027 100644 --- a/go/oasis-test-runner/oasis/oasis.go +++ b/go/oasis-test-runner/oasis/oasis.go @@ -17,21 +17,21 @@ import ( "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/crypto/drbg" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - genesisFile "github.com/oasislabs/oasis-core/go/genesis/file" - genesisTestHelpers "github.com/oasislabs/oasis-core/go/genesis/tests" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/metrics" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/genesis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/log" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common/crypto/drbg" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + genesisFile "github.com/oasisprotocol/oasis-core/go/genesis/file" + genesisTestHelpers "github.com/oasisprotocol/oasis-core/go/genesis/tests" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/metrics" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/genesis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/log" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) const ( diff --git a/go/oasis-test-runner/oasis/oasis_test.go b/go/oasis-test-runner/oasis/oasis_test.go index 82d7414382a..3c0e2a6cdb1 100644 --- a/go/oasis-test-runner/oasis/oasis_test.go +++ b/go/oasis-test-runner/oasis/oasis_test.go @@ -9,7 +9,7 @@ import ( "github.com/oasisprotocol/ed25519" "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/drbg" + "github.com/oasisprotocol/oasis-core/go/common/crypto/drbg" ) func generateDeterministicNodeKeys(t *testing.T, rawSeed string) (ed25519.PublicKey, ed25519.PrivateKey) { diff --git a/go/oasis-test-runner/oasis/runtime.go b/go/oasis-test-runner/oasis/runtime.go index 3e54f180253..c3604df289b 100644 --- a/go/oasis-test-runner/oasis/runtime.go +++ b/go/oasis-test-runner/oasis/runtime.go @@ -7,14 +7,14 @@ import ( "strconv" "time" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/sgx" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdRegRt "github.com/oasislabs/oasis-core/go/oasis-node/cmd/registry/runtime" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdRegRt "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/registry/runtime" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) const rtDescriptorFile = "runtime_genesis.json" diff --git a/go/oasis-test-runner/oasis/seed.go b/go/oasis-test-runner/oasis/seed.go index 90afdb35e12..1e026e4142b 100644 --- a/go/oasis-test-runner/oasis/seed.go +++ b/go/oasis-test-runner/oasis/seed.go @@ -3,10 +3,10 @@ package oasis import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" ) type seedNode struct { diff --git a/go/oasis-test-runner/oasis/sentry.go b/go/oasis-test-runner/oasis/sentry.go index 4509c8ddc94..66d7de90edb 100644 --- a/go/oasis-test-runner/oasis/sentry.go +++ b/go/oasis-test-runner/oasis/sentry.go @@ -3,10 +3,10 @@ package oasis import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" ) // Sentry is an Oasis sentry node. diff --git a/go/oasis-test-runner/oasis/storage.go b/go/oasis-test-runner/oasis/storage.go index 42dd89c0aab..919499afeb9 100644 --- a/go/oasis-test-runner/oasis/storage.go +++ b/go/oasis-test-runner/oasis/storage.go @@ -5,9 +5,9 @@ import ( "path/filepath" "time" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/storage/database" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/storage/database" ) const storageIdentitySeedTemplate = "ekiden node storage %d" diff --git a/go/oasis-test-runner/oasis/validator.go b/go/oasis-test-runner/oasis/validator.go index 342226ab5b6..5ef327a0e70 100644 --- a/go/oasis-test-runner/oasis/validator.go +++ b/go/oasis-test-runner/oasis/validator.go @@ -5,10 +5,10 @@ import ( netPkg "net" "path/filepath" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/consensus/tendermint/crypto" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdRegNode "github.com/oasislabs/oasis-core/go/oasis-node/cmd/registry/node" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/crypto" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdRegNode "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/registry/node" ) const validatorIdentitySeedTemplate = "ekiden node validator %d" diff --git a/go/oasis-test-runner/scenario/e2e/byzantine.go b/go/oasis-test-runner/scenario/e2e/byzantine.go index 412e1bd9d49..f4fbd2abf1a 100644 --- a/go/oasis-test-runner/scenario/e2e/byzantine.go +++ b/go/oasis-test-runner/scenario/e2e/byzantine.go @@ -1,10 +1,10 @@ package e2e import ( - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/log" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/log" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) // TODO: Consider referencing script names directly from the Byzantine node. diff --git a/go/oasis-test-runner/scenario/e2e/debond.go b/go/oasis-test-runner/scenario/e2e/debond.go index 22eec1a8042..46fe824b0cc 100644 --- a/go/oasis-test-runner/scenario/e2e/debond.go +++ b/go/oasis-test-runner/scenario/e2e/debond.go @@ -4,12 +4,12 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common/quantity" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) // Debond tests debonding records created in the genesis document. diff --git a/go/oasis-test-runner/scenario/e2e/dump_restore.go b/go/oasis-test-runner/scenario/e2e/dump_restore.go index d0928e94eb5..90f27a505b6 100644 --- a/go/oasis-test-runner/scenario/e2e/dump_restore.go +++ b/go/oasis-test-runner/scenario/e2e/dump_restore.go @@ -1,8 +1,8 @@ package e2e import ( - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/e2e.go b/go/oasis-test-runner/scenario/e2e/e2e.go index 3066d7dc29a..f996f492085 100644 --- a/go/oasis-test-runner/scenario/e2e/e2e.go +++ b/go/oasis-test-runner/scenario/e2e/e2e.go @@ -4,11 +4,11 @@ package e2e import ( flag "github.com/spf13/pflag" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/cmd" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/cmd" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) const ( diff --git a/go/oasis-test-runner/scenario/e2e/gas_fees_runtimes.go b/go/oasis-test-runner/scenario/e2e/gas_fees_runtimes.go index 0a7a0d62e14..9dd9e8ab70d 100644 --- a/go/oasis-test-runner/scenario/e2e/gas_fees_runtimes.go +++ b/go/oasis-test-runner/scenario/e2e/gas_fees_runtimes.go @@ -3,9 +3,9 @@ package e2e import ( "context" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/gas_fees_staking.go b/go/oasis-test-runner/scenario/e2e/gas_fees_staking.go index 3ab509f5198..29339d0cc05 100644 --- a/go/oasis-test-runner/scenario/e2e/gas_fees_staking.go +++ b/go/oasis-test-runner/scenario/e2e/gas_fees_staking.go @@ -5,17 +5,17 @@ import ( "crypto/rand" "fmt" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/common/sgx" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/halt_restore.go b/go/oasis-test-runner/scenario/e2e/halt_restore.go index 2e50c17a185..d389a6554cc 100644 --- a/go/oasis-test-runner/scenario/e2e/halt_restore.go +++ b/go/oasis-test-runner/scenario/e2e/halt_restore.go @@ -11,10 +11,10 @@ import ( "path/filepath" "reflect" - genesis "github.com/oasislabs/oasis-core/go/genesis/file" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/file" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/identity_cli.go b/go/oasis-test-runner/scenario/e2e/identity_cli.go index da5ae935ecb..3b309dcb893 100644 --- a/go/oasis-test-runner/scenario/e2e/identity_cli.go +++ b/go/oasis-test-runner/scenario/e2e/identity_cli.go @@ -3,14 +3,14 @@ package e2e import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis/cli" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis/cli" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/keymanager_replicate.go b/go/oasis-test-runner/scenario/e2e/keymanager_replicate.go index 2c1a9fd8507..4a4bd33828e 100644 --- a/go/oasis-test-runner/scenario/e2e/keymanager_replicate.go +++ b/go/oasis-test-runner/scenario/e2e/keymanager_replicate.go @@ -5,12 +5,12 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common/cbor" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) // KeymanagerReplicate is the keymanager replication scenario. diff --git a/go/oasis-test-runner/scenario/e2e/keymanager_restart.go b/go/oasis-test-runner/scenario/e2e/keymanager_restart.go index 06bc78d58e2..8ebaf8cda96 100644 --- a/go/oasis-test-runner/scenario/e2e/keymanager_restart.go +++ b/go/oasis-test-runner/scenario/e2e/keymanager_restart.go @@ -3,9 +3,9 @@ package e2e import ( "context" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/keymanager_upgrade.go b/go/oasis-test-runner/scenario/e2e/keymanager_upgrade.go index 9768a6f6312..093c97fbd64 100644 --- a/go/oasis-test-runner/scenario/e2e/keymanager_upgrade.go +++ b/go/oasis-test-runner/scenario/e2e/keymanager_upgrade.go @@ -6,16 +6,16 @@ import ( "fmt" "path/filepath" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/sgx" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis/cli" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis/cli" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) // KeymanagerUpgrade is the keymanager upgrade scenario. diff --git a/go/oasis-test-runner/scenario/e2e/late_start.go b/go/oasis-test-runner/scenario/e2e/late_start.go index 13e9647deb5..ebe906998d0 100644 --- a/go/oasis-test-runner/scenario/e2e/late_start.go +++ b/go/oasis-test-runner/scenario/e2e/late_start.go @@ -3,9 +3,9 @@ package e2e import ( "time" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/multiple_runtimes.go b/go/oasis-test-runner/scenario/e2e/multiple_runtimes.go index af0eb0ee071..a94d0c02311 100644 --- a/go/oasis-test-runner/scenario/e2e/multiple_runtimes.go +++ b/go/oasis-test-runner/scenario/e2e/multiple_runtimes.go @@ -5,12 +5,12 @@ import ( "fmt" "time" - "github.com/oasislabs/oasis-core/go/common" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) const ( diff --git a/go/oasis-test-runner/scenario/e2e/node_shutdown.go b/go/oasis-test-runner/scenario/e2e/node_shutdown.go index 51a0d8c32f5..97c2e8a3688 100644 --- a/go/oasis-test-runner/scenario/e2e/node_shutdown.go +++ b/go/oasis-test-runner/scenario/e2e/node_shutdown.go @@ -4,10 +4,10 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis/cli" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis/cli" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/registry_cli.go b/go/oasis-test-runner/scenario/e2e/registry_cli.go index d2091de90ff..c1e06fe7257 100644 --- a/go/oasis-test-runner/scenario/e2e/registry_cli.go +++ b/go/oasis-test-runner/scenario/e2e/registry_cli.go @@ -14,23 +14,23 @@ import ( "strings" "time" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/node" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/consensus" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - cmdSigner "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/signer" - cmdRegEnt "github.com/oasislabs/oasis-core/go/oasis-node/cmd/registry/entity" - cmdRegNode "github.com/oasislabs/oasis-core/go/oasis-node/cmd/registry/node" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis/cli" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/node" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/consensus" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + cmdSigner "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/signer" + cmdRegEnt "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/registry/entity" + cmdRegNode "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/registry/node" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis/cli" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/restore_previous.go b/go/oasis-test-runner/scenario/e2e/restore_previous.go index 1e4d8f0d6fe..a7ab5954a4a 100644 --- a/go/oasis-test-runner/scenario/e2e/restore_previous.go +++ b/go/oasis-test-runner/scenario/e2e/restore_previous.go @@ -3,10 +3,10 @@ package e2e import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) // RestoreV206 tests restoring from a v20.6 genesis document. diff --git a/go/oasis-test-runner/scenario/e2e/runtime.go b/go/oasis-test-runner/scenario/e2e/runtime.go index 3df658bcb79..e3ebb903d02 100644 --- a/go/oasis-test-runner/scenario/e2e/runtime.go +++ b/go/oasis-test-runner/scenario/e2e/runtime.go @@ -10,22 +10,22 @@ import ( "strings" "time" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/sgx" - genesisFile "github.com/oasislabs/oasis-core/go/genesis/file" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - cmdNode "github.com/oasislabs/oasis-core/go/oasis-node/cmd/node" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/log" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis/cli" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - registry "github.com/oasislabs/oasis-core/go/registry/api" - runtimeClient "github.com/oasislabs/oasis-core/go/runtime/client/api" - runtimeTransaction "github.com/oasislabs/oasis-core/go/runtime/transaction" - "github.com/oasislabs/oasis-core/go/storage/database" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + genesisFile "github.com/oasisprotocol/oasis-core/go/genesis/file" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + cmdNode "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/node" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/log" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis/cli" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + runtimeClient "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + runtimeTransaction "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + "github.com/oasisprotocol/oasis-core/go/storage/database" ) const ( diff --git a/go/oasis-test-runner/scenario/e2e/runtime_dynamic.go b/go/oasis-test-runner/scenario/e2e/runtime_dynamic.go index 5e25e67153b..557433e8ad8 100644 --- a/go/oasis-test-runner/scenario/e2e/runtime_dynamic.go +++ b/go/oasis-test-runner/scenario/e2e/runtime_dynamic.go @@ -6,21 +6,21 @@ import ( "path/filepath" "time" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/common/sgx" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis/cli" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - registry "github.com/oasislabs/oasis-core/go/registry/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis/cli" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/runtime_prune.go b/go/oasis-test-runner/scenario/e2e/runtime_prune.go index ab1ff688558..966acc21641 100644 --- a/go/oasis-test-runner/scenario/e2e/runtime_prune.go +++ b/go/oasis-test-runner/scenario/e2e/runtime_prune.go @@ -5,11 +5,11 @@ import ( "fmt" "time" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - "github.com/oasislabs/oasis-core/go/runtime/client/api" - "github.com/oasislabs/oasis-core/go/runtime/history" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + "github.com/oasisprotocol/oasis-core/go/runtime/history" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/sentry.go b/go/oasis-test-runner/scenario/e2e/sentry.go index 790b5bf3f28..9fe9140d5a4 100644 --- a/go/oasis-test-runner/scenario/e2e/sentry.go +++ b/go/oasis-test-runner/scenario/e2e/sentry.go @@ -1,10 +1,10 @@ package e2e import ( - "github.com/oasislabs/oasis-core/go/oasis-test-runner/log" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - "github.com/oasislabs/oasis-core/go/storage/database" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/log" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/storage/database" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/stake_cli.go b/go/oasis-test-runner/scenario/e2e/stake_cli.go index c7f8c32778f..6846e2af00e 100644 --- a/go/oasis-test-runner/scenario/e2e/stake_cli.go +++ b/go/oasis-test-runner/scenario/e2e/stake_cli.go @@ -10,18 +10,18 @@ import ( "strconv" "strings" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/consensus" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/stake" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis/cli" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/consensus" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/stake" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis/cli" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/staking/api" ) const ( diff --git a/go/oasis-test-runner/scenario/e2e/storage_sync.go b/go/oasis-test-runner/scenario/e2e/storage_sync.go index 1371d3eb705..31adccbf80d 100644 --- a/go/oasis-test-runner/scenario/e2e/storage_sync.go +++ b/go/oasis-test-runner/scenario/e2e/storage_sync.go @@ -5,13 +5,13 @@ import ( "fmt" "time" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis/cli" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - runtimeClient "github.com/oasislabs/oasis-core/go/runtime/client/api" - "github.com/oasislabs/oasis-core/go/storage/database" - "github.com/oasislabs/oasis-core/go/storage/mkvs/checkpoint" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis/cli" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + runtimeClient "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + "github.com/oasisprotocol/oasis-core/go/storage/database" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/checkpoint" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/txsource.go b/go/oasis-test-runner/scenario/e2e/txsource.go index 55768af53b3..c9d5cdccd04 100644 --- a/go/oasis-test-runner/scenario/e2e/txsource.go +++ b/go/oasis-test-runner/scenario/e2e/txsource.go @@ -12,18 +12,18 @@ import ( "strings" "time" - "github.com/oasislabs/oasis-core/go/common/crypto/drbg" - "github.com/oasislabs/oasis-core/go/common/crypto/mathrand" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/txsource" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/debug/txsource/workload" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/log" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/common/crypto/drbg" + "github.com/oasisprotocol/oasis-core/go/common/crypto/mathrand" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/txsource" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/debug/txsource/workload" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/log" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) const ( diff --git a/go/oasis-test-runner/scenario/e2e/upgrade.go b/go/oasis-test-runner/scenario/e2e/upgrade.go index 91a6f9380f4..663efc54cd8 100644 --- a/go/oasis-test-runner/scenario/e2e/upgrade.go +++ b/go/oasis-test-runner/scenario/e2e/upgrade.go @@ -9,20 +9,20 @@ import ( "sync" "time" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/persistent" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/sgx" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - epoch "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/log" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis/cli" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/upgrade/migrations" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/persistent" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + epoch "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/log" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis/cli" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/upgrade/migrations" ) var ( diff --git a/go/oasis-test-runner/scenario/e2e/upgrade_cancel.go b/go/oasis-test-runner/scenario/e2e/upgrade_cancel.go index 81a973f010e..1090f700106 100644 --- a/go/oasis-test-runner/scenario/e2e/upgrade_cancel.go +++ b/go/oasis-test-runner/scenario/e2e/upgrade_cancel.go @@ -6,14 +6,14 @@ import ( "io/ioutil" "path" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/sgx" - epoch "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis/cli" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + epoch "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis/cli" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) var ( diff --git a/go/oasis-test-runner/scenario/remotesigner/basic.go b/go/oasis-test-runner/scenario/remotesigner/basic.go index 9ebbfa83e0b..0a54599a8c5 100644 --- a/go/oasis-test-runner/scenario/remotesigner/basic.go +++ b/go/oasis-test-runner/scenario/remotesigner/basic.go @@ -5,14 +5,14 @@ import ( "path/filepath" "time" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - remoteSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/remote" - "github.com/oasislabs/oasis-core/go/common/crypto/tls" - cmdCommon "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis/cli" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + remoteSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/remote" + "github.com/oasisprotocol/oasis-core/go/common/crypto/tls" + cmdCommon "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis/cli" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) var ( diff --git a/go/oasis-test-runner/scenario/remotesigner/remotesigner.go b/go/oasis-test-runner/scenario/remotesigner/remotesigner.go index f7007430b23..d24992a8808 100644 --- a/go/oasis-test-runner/scenario/remotesigner/remotesigner.go +++ b/go/oasis-test-runner/scenario/remotesigner/remotesigner.go @@ -4,11 +4,11 @@ package remotesigner import ( flag "github.com/spf13/pflag" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/cmd" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/cmd" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario" ) const ( diff --git a/go/oasis-test-runner/scenario/scenario.go b/go/oasis-test-runner/scenario/scenario.go index 3406a31563e..2945d42ae37 100644 --- a/go/oasis-test-runner/scenario/scenario.go +++ b/go/oasis-test-runner/scenario/scenario.go @@ -2,8 +2,8 @@ package scenario import ( - "github.com/oasislabs/oasis-core/go/oasis-test-runner/env" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/oasis" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/env" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/oasis" ) // Scenario is a test scenario identified by name. diff --git a/go/oasis-test-runner/test-runner.go b/go/oasis-test-runner/test-runner.go index 8ddb6f3265b..db802feb6f5 100644 --- a/go/oasis-test-runner/test-runner.go +++ b/go/oasis-test-runner/test-runner.go @@ -2,10 +2,10 @@ package main import ( - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/cmd" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario/e2e" - "github.com/oasislabs/oasis-core/go/oasis-test-runner/scenario/remotesigner" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/cmd" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario/e2e" + "github.com/oasisprotocol/oasis-core/go/oasis-test-runner/scenario/remotesigner" ) func main() { diff --git a/go/registry/api/api.go b/go/registry/api/api.go index a92bd57585a..68d19e331d0 100644 --- a/go/registry/api/api.go +++ b/go/registry/api/api.go @@ -9,18 +9,18 @@ import ( "sort" "time" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) // ModuleName is a unique module name for the registry module. diff --git a/go/registry/api/grpc.go b/go/registry/api/grpc.go index 191e3ce8bdc..e739917d068 100644 --- a/go/registry/api/grpc.go +++ b/go/registry/api/grpc.go @@ -5,10 +5,10 @@ import ( "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/entity" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/entity" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" ) var ( diff --git a/go/registry/api/legacy_v0.go b/go/registry/api/legacy_v0.go index 6bd44f01fe0..64d60c572e6 100644 --- a/go/registry/api/legacy_v0.go +++ b/go/registry/api/legacy_v0.go @@ -7,10 +7,10 @@ import ( "crypto/x509" "fmt" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" ) func nodeV0parseTLSPubKey(logger *logging.Logger, sigNode *node.MultiSignedNode) (signature.PublicKey, error) { diff --git a/go/registry/api/runtime.go b/go/registry/api/runtime.go index 5f96db89da7..7ccc5c14e16 100644 --- a/go/registry/api/runtime.go +++ b/go/registry/api/runtime.go @@ -7,15 +7,15 @@ import ( "strings" "time" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/prettyprint" - "github.com/oasislabs/oasis-core/go/common/sgx" - "github.com/oasislabs/oasis-core/go/common/version" - storage "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/prettyprint" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + "github.com/oasisprotocol/oasis-core/go/common/version" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" ) var ( diff --git a/go/registry/api/sanity_check.go b/go/registry/api/sanity_check.go index 7c50ff48462..4771dd264cd 100644 --- a/go/registry/api/sanity_check.go +++ b/go/registry/api/sanity_check.go @@ -5,15 +5,15 @@ import ( "fmt" "time" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/quantity" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) // SanityCheck does basic sanity checking on the genesis state. diff --git a/go/registry/api/status.go b/go/registry/api/status.go index a79a2746076..95710cc41e7 100644 --- a/go/registry/api/status.go +++ b/go/registry/api/status.go @@ -1,8 +1,8 @@ package api import ( - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) // FreezeForever is an epoch that can be used to freeze a node for diff --git a/go/registry/metrics.go b/go/registry/metrics.go index d79a313028c..06f60995237 100644 --- a/go/registry/metrics.go +++ b/go/registry/metrics.go @@ -7,9 +7,9 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/registry/api" ) const metricsUpdateInterval = 10 * time.Second diff --git a/go/registry/tests/tester.go b/go/registry/tests/tester.go index f1e3ae2c4ea..4eb4f05942f 100644 --- a/go/registry/tests/tester.go +++ b/go/registry/tests/tester.go @@ -11,18 +11,18 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/drbg" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/crypto/tls" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/node" - consensusAPI "github.com/oasislabs/oasis-core/go/consensus/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - epochtimeTests "github.com/oasislabs/oasis-core/go/epochtime/tests" - "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/drbg" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/crypto/tls" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/node" + consensusAPI "github.com/oasisprotocol/oasis-core/go/consensus/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + epochtimeTests "github.com/oasisprotocol/oasis-core/go/epochtime/tests" + "github.com/oasisprotocol/oasis-core/go/registry/api" ) const ( diff --git a/go/roothash/api/api.go b/go/roothash/api/api.go index d3b83b3e195..26855935a8e 100644 --- a/go/roothash/api/api.go +++ b/go/roothash/api/api.go @@ -6,15 +6,15 @@ import ( "fmt" "time" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" ) const ( diff --git a/go/roothash/api/block/block.go b/go/roothash/api/block/block.go index 1e796ed33f1..1edeb9fb4bd 100644 --- a/go/roothash/api/block/block.go +++ b/go/roothash/api/block/block.go @@ -1,7 +1,7 @@ // Package block implements the roothash block and header. package block -import "github.com/oasislabs/oasis-core/go/common" +import "github.com/oasisprotocol/oasis-core/go/common" // Block is an Oasis block. // diff --git a/go/roothash/api/block/header.go b/go/roothash/api/block/header.go index 66f4c499382..1f5829a72c8 100644 --- a/go/roothash/api/block/header.go +++ b/go/roothash/api/block/header.go @@ -4,11 +4,11 @@ import ( "bytes" "errors" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - storage "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" ) // ErrInvalidVersion is the error returned when a version is invalid. diff --git a/go/roothash/api/block/header_test.go b/go/roothash/api/block/header_test.go index 844948d55ee..e42afa43dfe 100644 --- a/go/roothash/api/block/header_test.go +++ b/go/roothash/api/block/header_test.go @@ -6,10 +6,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/quantity" ) func TestConsistentHash(t *testing.T) { diff --git a/go/roothash/api/commitment/commitment.go b/go/roothash/api/commitment/commitment.go index 43852a66a9e..b2a8f3bfc55 100644 --- a/go/roothash/api/commitment/commitment.go +++ b/go/roothash/api/commitment/commitment.go @@ -1,7 +1,7 @@ package commitment import ( - "github.com/oasislabs/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" ) // OpenCommitment is a verified roothash commitment. diff --git a/go/roothash/api/commitment/executor.go b/go/roothash/api/commitment/executor.go index 9ec362db9a8..de15dccb6d0 100644 --- a/go/roothash/api/commitment/executor.go +++ b/go/roothash/api/commitment/executor.go @@ -5,12 +5,12 @@ import ( "bytes" "errors" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - storage "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" ) var ( diff --git a/go/roothash/api/commitment/merge.go b/go/roothash/api/commitment/merge.go index 6241b05942a..bc2cec0160d 100644 --- a/go/roothash/api/commitment/merge.go +++ b/go/roothash/api/commitment/merge.go @@ -4,9 +4,9 @@ package commitment import ( "errors" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" ) // MergeSignatureContext is the signature context used to sign merge diff --git a/go/roothash/api/commitment/pool.go b/go/roothash/api/commitment/pool.go index 964f71484d3..942c999c10a 100644 --- a/go/roothash/api/commitment/pool.go +++ b/go/roothash/api/commitment/pool.go @@ -4,15 +4,15 @@ import ( "context" "time" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" ) // moduleName is the module name used for namespacing errors. diff --git a/go/roothash/api/commitment/pool_test.go b/go/roothash/api/commitment/pool_test.go index 1a12b3dd690..d7e3c79948f 100644 --- a/go/roothash/api/commitment/pool_test.go +++ b/go/roothash/api/commitment/pool_test.go @@ -9,17 +9,17 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/node" - genesisTestHelpers "github.com/oasislabs/oasis-core/go/genesis/tests" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - storage "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/node" + genesisTestHelpers "github.com/oasisprotocol/oasis-core/go/genesis/tests" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" ) var nopSV = &nopSignatureVerifier{} diff --git a/go/roothash/api/commitment/txnscheduler.go b/go/roothash/api/commitment/txnscheduler.go index 32ef6e3efc3..ef963d955d2 100644 --- a/go/roothash/api/commitment/txnscheduler.go +++ b/go/roothash/api/commitment/txnscheduler.go @@ -1,9 +1,9 @@ package commitment import ( - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" ) // TxnSchedulerBatchDispatchSigCtx is the context used for signing diff --git a/go/roothash/api/history.go b/go/roothash/api/history.go index c7538f048b5..da8359a8d29 100644 --- a/go/roothash/api/history.go +++ b/go/roothash/api/history.go @@ -3,8 +3,8 @@ package api import ( "context" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" ) // BlockHistory is the root hash block history keeper interface. diff --git a/go/roothash/metrics.go b/go/roothash/metrics.go index d0c8f19143b..eb45eb6aca2 100644 --- a/go/roothash/metrics.go +++ b/go/roothash/metrics.go @@ -6,9 +6,9 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/roothash/api" ) var ( diff --git a/go/roothash/tests/tester.go b/go/roothash/tests/tester.go index a35105dc4d0..fc34122671e 100644 --- a/go/roothash/tests/tester.go +++ b/go/roothash/tests/tester.go @@ -11,22 +11,22 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/pubsub" - consensusAPI "github.com/oasislabs/oasis-core/go/consensus/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - epochtimeTests "github.com/oasislabs/oasis-core/go/epochtime/tests" - registryTests "github.com/oasislabs/oasis-core/go/registry/tests" - "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - "github.com/oasislabs/oasis-core/go/storage" - storageAPI "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + consensusAPI "github.com/oasisprotocol/oasis-core/go/consensus/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + epochtimeTests "github.com/oasisprotocol/oasis-core/go/epochtime/tests" + registryTests "github.com/oasisprotocol/oasis-core/go/registry/tests" + "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/storage" + storageAPI "github.com/oasisprotocol/oasis-core/go/storage/api" ) const ( diff --git a/go/runtime/client/api/api.go b/go/runtime/client/api/api.go index 6d9628f8450..ebf691f1cfc 100644 --- a/go/runtime/client/api/api.go +++ b/go/runtime/client/api/api.go @@ -4,13 +4,13 @@ import ( "context" "math" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/pubsub" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - enclaverpc "github.com/oasislabs/oasis-core/go/runtime/enclaverpc/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + enclaverpc "github.com/oasisprotocol/oasis-core/go/runtime/enclaverpc/api" ) const ( diff --git a/go/runtime/client/api/grpc.go b/go/runtime/client/api/grpc.go index 2dcb81c7f09..5eb0b178681 100644 --- a/go/runtime/client/api/grpc.go +++ b/go/runtime/client/api/grpc.go @@ -7,13 +7,13 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/errors" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/pubsub" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - enclaverpc "github.com/oasislabs/oasis-core/go/runtime/enclaverpc/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/errors" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + enclaverpc "github.com/oasisprotocol/oasis-core/go/runtime/enclaverpc/api" ) var ( diff --git a/go/runtime/client/client.go b/go/runtime/client/client.go index d40728f1448..ab6d546e419 100644 --- a/go/runtime/client/client.go +++ b/go/runtime/client/client.go @@ -12,22 +12,22 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - keymanagerAPI "github.com/oasislabs/oasis-core/go/keymanager/api" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/client" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/runtime/client/api" - enclaverpc "github.com/oasislabs/oasis-core/go/runtime/enclaverpc/api" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" - "github.com/oasislabs/oasis-core/go/runtime/tagindexer" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - storage "github.com/oasislabs/oasis-core/go/storage/api" - txnscheduler "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + keymanagerAPI "github.com/oasisprotocol/oasis-core/go/keymanager/api" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/client" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + enclaverpc "github.com/oasisprotocol/oasis-core/go/runtime/enclaverpc/api" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" + "github.com/oasisprotocol/oasis-core/go/runtime/tagindexer" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + txnscheduler "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/api" ) var ( diff --git a/go/runtime/client/tests/tester.go b/go/runtime/client/tests/tester.go index 1441bb2d15b..9b7e8e39108 100644 --- a/go/runtime/client/tests/tester.go +++ b/go/runtime/client/tests/tester.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/runtime/client/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/runtime/client/api" ) // Keep this above the test network's max batch timeout. diff --git a/go/runtime/client/watcher.go b/go/runtime/client/watcher.go index a0bef369de8..50bcd6b56b1 100644 --- a/go/runtime/client/watcher.go +++ b/go/runtime/client/watcher.go @@ -4,16 +4,16 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/service" - "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/runtime/committee" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - storage "github.com/oasislabs/oasis-core/go/storage/api" - txnscheduler "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/service" + "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/runtime/committee" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + txnscheduler "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/api" ) type watchRequest struct { diff --git a/go/runtime/committee/client.go b/go/runtime/committee/client.go index b2280a45ed0..fec818ec42e 100644 --- a/go/runtime/committee/client.go +++ b/go/runtime/committee/client.go @@ -13,13 +13,13 @@ import ( "google.golang.org/grpc/resolver" "google.golang.org/grpc/resolver/manual" - "github.com/oasislabs/oasis-core/go/common/crypto/mathrand" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/crypto/mathrand" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" ) const defaultCloseDelay = 5 * time.Second diff --git a/go/runtime/committee/committee.go b/go/runtime/committee/committee.go index f6dce86dcd5..69ca6d7578c 100644 --- a/go/runtime/committee/committee.go +++ b/go/runtime/committee/committee.go @@ -6,12 +6,12 @@ import ( "fmt" "sort" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - registry "github.com/oasislabs/oasis-core/go/registry/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" ) // Watcher is the committee watcher interface. diff --git a/go/runtime/committee/nodes.go b/go/runtime/committee/nodes.go index 682d482f8aa..da8ab7ad04d 100644 --- a/go/runtime/committee/nodes.go +++ b/go/runtime/committee/nodes.go @@ -7,12 +7,12 @@ import ( "github.com/eapache/channels" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" ) // NodeUpdate is a node update. diff --git a/go/runtime/enclaverpc/api/api.go b/go/runtime/enclaverpc/api/api.go index 05b1abbef2f..45bdff0cb39 100644 --- a/go/runtime/enclaverpc/api/api.go +++ b/go/runtime/enclaverpc/api/api.go @@ -4,7 +4,7 @@ package api import ( "context" - "github.com/oasislabs/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common" ) // Transport is the EnclaveRPC transport interface. diff --git a/go/runtime/enclaverpc/api/grpc.go b/go/runtime/enclaverpc/api/grpc.go index 786ded1cb3f..1a531ad4a19 100644 --- a/go/runtime/enclaverpc/api/grpc.go +++ b/go/runtime/enclaverpc/api/grpc.go @@ -7,8 +7,8 @@ import ( "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" ) var ( diff --git a/go/runtime/history/db.go b/go/runtime/history/db.go index f30dcad20e5..4565c50ce1f 100644 --- a/go/runtime/history/db.go +++ b/go/runtime/history/db.go @@ -6,12 +6,12 @@ import ( "github.com/dgraph-io/badger/v2" "github.com/dgraph-io/badger/v2/options" - "github.com/oasislabs/oasis-core/go/common" - cmnBadger "github.com/oasislabs/oasis-core/go/common/badger" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/keyformat" - "github.com/oasislabs/oasis-core/go/common/logging" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/common" + cmnBadger "github.com/oasisprotocol/oasis-core/go/common/badger" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + "github.com/oasisprotocol/oasis-core/go/common/logging" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" ) const dbVersion = 1 diff --git a/go/runtime/history/history.go b/go/runtime/history/history.go index 318cfefc9dd..f5ee32cb89d 100644 --- a/go/runtime/history/history.go +++ b/go/runtime/history/history.go @@ -9,10 +9,10 @@ import ( "github.com/eapache/channels" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/logging" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/logging" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" ) // DbFilename is the filename of the history database. diff --git a/go/runtime/history/history_test.go b/go/runtime/history/history_test.go index b1055a9e68b..8981090a652 100644 --- a/go/runtime/history/history_test.go +++ b/go/runtime/history/history_test.go @@ -10,9 +10,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/common" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" ) const recvTimeout = 1 * time.Second diff --git a/go/runtime/history/prune.go b/go/runtime/history/prune.go index ab2bfd558eb..6466501316f 100644 --- a/go/runtime/history/prune.go +++ b/go/runtime/history/prune.go @@ -7,7 +7,7 @@ import ( "github.com/dgraph-io/badger/v2" - "github.com/oasislabs/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/logging" ) const ( diff --git a/go/runtime/host/host.go b/go/runtime/host/host.go index 35b68e5e991..c83ff92fd2f 100644 --- a/go/runtime/host/host.go +++ b/go/runtime/host/host.go @@ -4,11 +4,11 @@ package host import ( "context" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/version" - "github.com/oasislabs/oasis-core/go/runtime/host/protocol" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/version" + "github.com/oasisprotocol/oasis-core/go/runtime/host/protocol" ) // Config contains common configuration for the provisioned runtime. diff --git a/go/runtime/host/mock/mock.go b/go/runtime/host/mock/mock.go index 57f2ee35274..85d39481eed 100644 --- a/go/runtime/host/mock/mock.go +++ b/go/runtime/host/mock/mock.go @@ -5,14 +5,14 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" - "github.com/oasislabs/oasis-core/go/runtime/host" - "github.com/oasislabs/oasis-core/go/runtime/host/protocol" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - mkvsNode "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" + "github.com/oasisprotocol/oasis-core/go/runtime/host" + "github.com/oasisprotocol/oasis-core/go/runtime/host/protocol" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + mkvsNode "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) type provisioner struct { diff --git a/go/runtime/host/protocol/connection.go b/go/runtime/host/protocol/connection.go index 5fb1393c16e..dcf168ab386 100644 --- a/go/runtime/host/protocol/connection.go +++ b/go/runtime/host/protocol/connection.go @@ -13,13 +13,13 @@ import ( "github.com/prometheus/client_golang/prometheus" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/tracing" - "github.com/oasislabs/oasis-core/go/common/version" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/metrics" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/tracing" + "github.com/oasisprotocol/oasis-core/go/common/version" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/metrics" ) const moduleName = "rhp/internal" diff --git a/go/runtime/host/protocol/connection_test.go b/go/runtime/host/protocol/connection_test.go index e8aed9a4b8c..bd3086179f5 100644 --- a/go/runtime/host/protocol/connection_test.go +++ b/go/runtime/host/protocol/connection_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/version" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/version" ) // TODO: add tests with incorrect handlers (wrong version, malformed response) diff --git a/go/runtime/host/protocol/types.go b/go/runtime/host/protocol/types.go index 4b9d574c93f..10e479d33a7 100644 --- a/go/runtime/host/protocol/types.go +++ b/go/runtime/host/protocol/types.go @@ -4,14 +4,14 @@ import ( "fmt" "reflect" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/sgx/ias" - roothash "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - storage "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" ) // NOTE: Bump RuntimeProtocol version in go/common/version if you diff --git a/go/runtime/host/protocol/types_test.go b/go/runtime/host/protocol/types_test.go index 0f96b516249..93af52b2062 100644 --- a/go/runtime/host/protocol/types_test.go +++ b/go/runtime/host/protocol/types_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" ) func TestBody_Type(t *testing.T) { diff --git a/go/runtime/host/sandbox/sandbox.go b/go/runtime/host/sandbox/sandbox.go index 30b400bdbd3..cd76bda458c 100644 --- a/go/runtime/host/sandbox/sandbox.go +++ b/go/runtime/host/sandbox/sandbox.go @@ -13,13 +13,13 @@ import ( "github.com/cenkalti/backoff/v4" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/version" - "github.com/oasislabs/oasis-core/go/runtime/host" - "github.com/oasislabs/oasis-core/go/runtime/host/protocol" - "github.com/oasislabs/oasis-core/go/runtime/host/sandbox/process" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/version" + "github.com/oasisprotocol/oasis-core/go/runtime/host" + "github.com/oasisprotocol/oasis-core/go/runtime/host/protocol" + "github.com/oasisprotocol/oasis-core/go/runtime/host/sandbox/process" ) const ( diff --git a/go/runtime/host/sandbox/sandbox_test.go b/go/runtime/host/sandbox/sandbox_test.go index 19ae87dcea0..fca0f0a0374 100644 --- a/go/runtime/host/sandbox/sandbox_test.go +++ b/go/runtime/host/sandbox/sandbox_test.go @@ -4,8 +4,8 @@ import ( "os" "testing" - "github.com/oasislabs/oasis-core/go/runtime/host" - "github.com/oasislabs/oasis-core/go/runtime/host/tests" + "github.com/oasisprotocol/oasis-core/go/runtime/host" + "github.com/oasisprotocol/oasis-core/go/runtime/host/tests" ) var envRuntimePath = os.Getenv("OASIS_TEST_RUNTIME_HOST_RUNTIME_PATH") diff --git a/go/runtime/host/sgx/sgx.go b/go/runtime/host/sgx/sgx.go index a5fda12becf..0e38937d39f 100644 --- a/go/runtime/host/sgx/sgx.go +++ b/go/runtime/host/sgx/sgx.go @@ -12,21 +12,21 @@ import ( "sync" "time" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/sgx" - "github.com/oasislabs/oasis-core/go/common/sgx/aesm" - cmnIAS "github.com/oasislabs/oasis-core/go/common/sgx/ias" - "github.com/oasislabs/oasis-core/go/common/sgx/sigstruct" - "github.com/oasislabs/oasis-core/go/common/version" - ias "github.com/oasislabs/oasis-core/go/ias/api" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/runtime/host" - "github.com/oasislabs/oasis-core/go/runtime/host/protocol" - "github.com/oasislabs/oasis-core/go/runtime/host/sandbox" - "github.com/oasislabs/oasis-core/go/runtime/host/sandbox/process" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + "github.com/oasisprotocol/oasis-core/go/common/sgx/aesm" + cmnIAS "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + "github.com/oasisprotocol/oasis-core/go/common/sgx/sigstruct" + "github.com/oasisprotocol/oasis-core/go/common/version" + ias "github.com/oasisprotocol/oasis-core/go/ias/api" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/runtime/host" + "github.com/oasisprotocol/oasis-core/go/runtime/host/protocol" + "github.com/oasisprotocol/oasis-core/go/runtime/host/sandbox" + "github.com/oasisprotocol/oasis-core/go/runtime/host/sandbox/process" ) const ( diff --git a/go/runtime/host/sgx/sgx_test.go b/go/runtime/host/sgx/sgx_test.go index 89912e88def..7b3957fe22b 100644 --- a/go/runtime/host/sgx/sgx_test.go +++ b/go/runtime/host/sgx/sgx_test.go @@ -8,11 +8,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/node" - cmnIAS "github.com/oasislabs/oasis-core/go/common/sgx/ias" - iasHttp "github.com/oasislabs/oasis-core/go/ias/http" - "github.com/oasislabs/oasis-core/go/runtime/host" - "github.com/oasislabs/oasis-core/go/runtime/host/tests" + "github.com/oasisprotocol/oasis-core/go/common/node" + cmnIAS "github.com/oasisprotocol/oasis-core/go/common/sgx/ias" + iasHttp "github.com/oasisprotocol/oasis-core/go/ias/http" + "github.com/oasisprotocol/oasis-core/go/runtime/host" + "github.com/oasisprotocol/oasis-core/go/runtime/host/tests" ) // This needs to be large as some runtimes can take a long time to initialize due to remote diff --git a/go/runtime/host/tests/tester.go b/go/runtime/host/tests/tester.go index fba45822e85..67039e749ca 100644 --- a/go/runtime/host/tests/tester.go +++ b/go/runtime/host/tests/tester.go @@ -10,13 +10,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/sgx" - keymanager "github.com/oasislabs/oasis-core/go/keymanager/api" - "github.com/oasislabs/oasis-core/go/runtime/host" - "github.com/oasislabs/oasis-core/go/runtime/host/protocol" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/sgx" + keymanager "github.com/oasisprotocol/oasis-core/go/keymanager/api" + "github.com/oasisprotocol/oasis-core/go/runtime/host" + "github.com/oasisprotocol/oasis-core/go/runtime/host/protocol" ) // This needs to be large as some runtimes can take a long time to initialize due to remote diff --git a/go/runtime/localstorage/localstorage.go b/go/runtime/localstorage/localstorage.go index 36895ae7577..2c9403bbce1 100644 --- a/go/runtime/localstorage/localstorage.go +++ b/go/runtime/localstorage/localstorage.go @@ -11,10 +11,10 @@ import ( "github.com/dgraph-io/badger/v2" "github.com/dgraph-io/badger/v2/options" - "github.com/oasislabs/oasis-core/go/common" - cmnBadger "github.com/oasislabs/oasis-core/go/common/badger" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common" + cmnBadger "github.com/oasisprotocol/oasis-core/go/common/badger" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/logging" ) var ( diff --git a/go/runtime/registry/config.go b/go/runtime/registry/config.go index 43bdc3edb56..0afe0b50162 100644 --- a/go/runtime/registry/config.go +++ b/go/runtime/registry/config.go @@ -8,8 +8,8 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/runtime/history" - "github.com/oasislabs/oasis-core/go/runtime/tagindexer" + "github.com/oasisprotocol/oasis-core/go/runtime/history" + "github.com/oasisprotocol/oasis-core/go/runtime/tagindexer" ) const ( diff --git a/go/runtime/registry/helpers.go b/go/runtime/registry/helpers.go index 55d230e7d8f..d4e49a6f8a7 100644 --- a/go/runtime/registry/helpers.go +++ b/go/runtime/registry/helpers.go @@ -5,7 +5,7 @@ import ( "path/filepath" "strings" - "github.com/oasislabs/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common" ) const ( diff --git a/go/runtime/registry/registry.go b/go/runtime/registry/registry.go index 96227b851dc..bd9af8045cc 100644 --- a/go/runtime/registry/registry.go +++ b/go/runtime/registry/registry.go @@ -10,17 +10,17 @@ import ( "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/runtime/history" - "github.com/oasislabs/oasis-core/go/runtime/localstorage" - "github.com/oasislabs/oasis-core/go/runtime/tagindexer" - "github.com/oasislabs/oasis-core/go/storage" - storageAPI "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/runtime/history" + "github.com/oasisprotocol/oasis-core/go/runtime/localstorage" + "github.com/oasisprotocol/oasis-core/go/runtime/tagindexer" + "github.com/oasisprotocol/oasis-core/go/storage" + storageAPI "github.com/oasisprotocol/oasis-core/go/storage/api" ) const ( diff --git a/go/runtime/registry/storage_router.go b/go/runtime/registry/storage_router.go index 261d5324652..aa6306349f7 100644 --- a/go/runtime/registry/storage_router.go +++ b/go/runtime/registry/storage_router.go @@ -4,9 +4,9 @@ import ( "context" "io" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/checkpoint" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/checkpoint" ) var _ api.Backend = (*storageRouter)(nil) diff --git a/go/runtime/tagindexer/backend.go b/go/runtime/tagindexer/backend.go index 5e9c1a02c53..b5725008b1c 100644 --- a/go/runtime/tagindexer/backend.go +++ b/go/runtime/tagindexer/backend.go @@ -4,10 +4,10 @@ import ( "context" "errors" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/runtime/client/api" - "github.com/oasislabs/oasis-core/go/runtime/transaction" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" ) const ( diff --git a/go/runtime/tagindexer/backend_test.go b/go/runtime/tagindexer/backend_test.go index 138857f7cae..8e7397b8fb4 100644 --- a/go/runtime/tagindexer/backend_test.go +++ b/go/runtime/tagindexer/backend_test.go @@ -8,10 +8,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/runtime/client/api" - "github.com/oasislabs/oasis-core/go/runtime/transaction" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" ) func testOperations(t *testing.T, backend Backend) { diff --git a/go/runtime/tagindexer/bleve.go b/go/runtime/tagindexer/bleve.go index ee2ab6a79d3..d37c95e289e 100644 --- a/go/runtime/tagindexer/bleve.go +++ b/go/runtime/tagindexer/bleve.go @@ -10,13 +10,13 @@ import ( "github.com/blevesearch/bleve/index/scorch" bleveQuery "github.com/blevesearch/bleve/search/query" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/keyformat" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/runtime/client/api" - "github.com/oasislabs/oasis-core/go/runtime/transaction" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/runtime/client/api" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" ) const ( diff --git a/go/runtime/tagindexer/tagindexer.go b/go/runtime/tagindexer/tagindexer.go index 5a10e327102..8714fbfa78f 100644 --- a/go/runtime/tagindexer/tagindexer.go +++ b/go/runtime/tagindexer/tagindexer.go @@ -7,13 +7,13 @@ import ( "github.com/cenkalti/backoff/v4" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/service" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/runtime/history" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - storage "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/service" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/runtime/history" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" ) const ( diff --git a/go/runtime/transaction/batch_test.go b/go/runtime/transaction/batch_test.go index d63be8a8076..5d836219569 100644 --- a/go/runtime/transaction/batch_test.go +++ b/go/runtime/transaction/batch_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" ) func TestConsistentHash(t *testing.T) { diff --git a/go/runtime/transaction/rwset.go b/go/runtime/transaction/rwset.go index a28dc89302a..c71cc3b9afa 100644 --- a/go/runtime/transaction/rwset.go +++ b/go/runtime/transaction/rwset.go @@ -3,7 +3,7 @@ package transaction import ( "bytes" - "github.com/oasislabs/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/cbor" ) // CoarsenedKey is a coarsened key prefix that represents any key that diff --git a/go/runtime/transaction/rwset_test.go b/go/runtime/transaction/rwset_test.go index 0b65ddd1dad..29676094aae 100644 --- a/go/runtime/transaction/rwset_test.go +++ b/go/runtime/transaction/rwset_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/cbor" ) func TestReadWriteSetSerialization(t *testing.T) { diff --git a/go/runtime/transaction/tags.go b/go/runtime/transaction/tags.go index a6d556f5e28..d9a82b3c11f 100644 --- a/go/runtime/transaction/tags.go +++ b/go/runtime/transaction/tags.go @@ -1,6 +1,6 @@ package transaction -import "github.com/oasislabs/oasis-core/go/common/crypto/hash" +import "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" // Tag is a key/value pair of arbitrary byte blobs with runtime-dependent // semantics which can be indexed to allow easier lookup of transactions diff --git a/go/runtime/transaction/transaction.go b/go/runtime/transaction/transaction.go index 0f7b4ccc8fb..2201bd6e44e 100644 --- a/go/runtime/transaction/transaction.go +++ b/go/runtime/transaction/transaction.go @@ -8,13 +8,13 @@ import ( "fmt" "sort" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/keyformat" - "github.com/oasislabs/oasis-core/go/storage/mkvs" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) // NOTE: This should be kept in sync with runtime/src/transaction/tree.rs. diff --git a/go/runtime/transaction/transaction_test.go b/go/runtime/transaction/transaction_test.go index 51e1fba8386..e7b2712d701 100644 --- a/go/runtime/transaction/transaction_test.go +++ b/go/runtime/transaction/transaction_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) func TestTransaction(t *testing.T) { diff --git a/go/runtime/transaction/types.go b/go/runtime/transaction/types.go index 626d780cfe8..7b40e371f3d 100644 --- a/go/runtime/transaction/types.go +++ b/go/runtime/transaction/types.go @@ -1,6 +1,6 @@ package transaction -import "github.com/oasislabs/oasis-core/go/common/cbor" +import "github.com/oasisprotocol/oasis-core/go/common/cbor" // NOTE: These types must be synchronized with runtime/src/transaction/types.rs. diff --git a/go/scheduler/api/api.go b/go/scheduler/api/api.go index ec1f4e7ed76..acbf17b6a59 100644 --- a/go/scheduler/api/api.go +++ b/go/scheduler/api/api.go @@ -7,13 +7,13 @@ import ( "math" "strings" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/quantity" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" ) // Role is the role a given node plays in a committee. diff --git a/go/scheduler/api/api_test.go b/go/scheduler/api/api_test.go index ee89d2d4354..b81c76c4004 100644 --- a/go/scheduler/api/api_test.go +++ b/go/scheduler/api/api_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/common/quantity" ) func TestSanityCheck(t *testing.T) { diff --git a/go/scheduler/api/grpc.go b/go/scheduler/api/grpc.go index 082e05d412f..bc342ecb57e 100644 --- a/go/scheduler/api/grpc.go +++ b/go/scheduler/api/grpc.go @@ -5,8 +5,8 @@ import ( "google.golang.org/grpc" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/pubsub" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" ) var ( diff --git a/go/scheduler/tests/tester.go b/go/scheduler/tests/tester.go index ed0a05dad75..8390a787627 100644 --- a/go/scheduler/tests/tester.go +++ b/go/scheduler/tests/tester.go @@ -9,14 +9,14 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/node" - consensusAPI "github.com/oasislabs/oasis-core/go/consensus/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - epochtimeTests "github.com/oasislabs/oasis-core/go/epochtime/tests" - registry "github.com/oasislabs/oasis-core/go/registry/api" - registryTests "github.com/oasislabs/oasis-core/go/registry/tests" - "github.com/oasislabs/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/node" + consensusAPI "github.com/oasisprotocol/oasis-core/go/consensus/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + epochtimeTests "github.com/oasisprotocol/oasis-core/go/epochtime/tests" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + registryTests "github.com/oasisprotocol/oasis-core/go/registry/tests" + "github.com/oasisprotocol/oasis-core/go/scheduler/api" ) const recvTimeout = 5 * time.Second diff --git a/go/sentry/api/api.go b/go/sentry/api/api.go index 810fc312c79..1e5085353b8 100644 --- a/go/sentry/api/api.go +++ b/go/sentry/api/api.go @@ -4,8 +4,8 @@ package api import ( "context" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/node" ) // SentryAddresses contains sentry node consensus and TLS addresses. diff --git a/go/sentry/api/grpc.go b/go/sentry/api/grpc.go index fc665abc1ef..e615f19be65 100644 --- a/go/sentry/api/grpc.go +++ b/go/sentry/api/grpc.go @@ -5,8 +5,8 @@ import ( "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" ) var ( diff --git a/go/sentry/client/client.go b/go/sentry/client/client.go index 31474730303..dd27cb63a85 100644 --- a/go/sentry/client/client.go +++ b/go/sentry/client/client.go @@ -7,12 +7,12 @@ import ( "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/sentry/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/sentry/api" ) var _ api.Backend = (*Client)(nil) diff --git a/go/sentry/sentry.go b/go/sentry/sentry.go index a4a9c54e832..56a6e531148 100644 --- a/go/sentry/sentry.go +++ b/go/sentry/sentry.go @@ -6,13 +6,13 @@ import ( "fmt" "sync" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/sentry/api" - grpcSentry "github.com/oasislabs/oasis-core/go/worker/sentry/grpc" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/sentry/api" + grpcSentry "github.com/oasisprotocol/oasis-core/go/worker/sentry/grpc" ) var _ api.Backend = (*backend)(nil) diff --git a/go/staking/api/api.go b/go/staking/api/api.go index ab8d7cbe045..9c6fe08c1fa 100644 --- a/go/staking/api/api.go +++ b/go/staking/api/api.go @@ -5,13 +5,13 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) const ( diff --git a/go/staking/api/api_test.go b/go/staking/api/api_test.go index d6e5fa2bf5d..19d568dfc2f 100644 --- a/go/staking/api/api_test.go +++ b/go/staking/api/api_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/common/quantity" ) func TestConsensusParameters(t *testing.T) { diff --git a/go/staking/api/commission.go b/go/staking/api/commission.go index 319a327dc61..7042040d5a1 100644 --- a/go/staking/api/commission.go +++ b/go/staking/api/commission.go @@ -3,8 +3,8 @@ package api import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/quantity" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) // CommissionRateDenominator is the denominator for the commission rate. diff --git a/go/staking/api/commission_test.go b/go/staking/api/commission_test.go index 2fd2c57d2e5..4d3e412bed5 100644 --- a/go/staking/api/commission_test.go +++ b/go/staking/api/commission_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/quantity" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) func mustInitQuantity(t *testing.T, i int64) (q quantity.Quantity) { diff --git a/go/staking/api/grpc.go b/go/staking/api/grpc.go index 6f68b836dc2..a705f3e3efc 100644 --- a/go/staking/api/grpc.go +++ b/go/staking/api/grpc.go @@ -5,10 +5,10 @@ import ( "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/quantity" ) var ( diff --git a/go/staking/api/rewards.go b/go/staking/api/rewards.go index 766008c445e..b43477131f7 100644 --- a/go/staking/api/rewards.go +++ b/go/staking/api/rewards.go @@ -3,8 +3,8 @@ package api import ( "math/big" - "github.com/oasislabs/oasis-core/go/common/quantity" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) // RewardAmountDenominator is the denominator for the reward rate. diff --git a/go/staking/api/sanity_check.go b/go/staking/api/sanity_check.go index 8a598e2f4b8..2baf4b27296 100644 --- a/go/staking/api/sanity_check.go +++ b/go/staking/api/sanity_check.go @@ -4,9 +4,9 @@ package api import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/quantity" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) // SanityCheck performs a sanity check on the consensus parameters. diff --git a/go/staking/api/slashing.go b/go/staking/api/slashing.go index 9da687fe79a..f8e506f9b1c 100644 --- a/go/staking/api/slashing.go +++ b/go/staking/api/slashing.go @@ -1,8 +1,8 @@ package api import ( - "github.com/oasislabs/oasis-core/go/common/quantity" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) // SlashReason is the reason why a node was slashed. diff --git a/go/staking/gen_vectors/main.go b/go/staking/gen_vectors/main.go index 32c9725828d..1194ce9ee54 100644 --- a/go/staking/gen_vectors/main.go +++ b/go/staking/gen_vectors/main.go @@ -6,13 +6,13 @@ import ( "fmt" "math" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) func quantityInt64(v int64) quantity.Quantity { diff --git a/go/staking/gen_vectors/testvectors.go b/go/staking/gen_vectors/testvectors.go index 0d719fdbf69..966ca1bf20d 100644 --- a/go/staking/gen_vectors/testvectors.go +++ b/go/staking/gen_vectors/testvectors.go @@ -3,10 +3,10 @@ package main import ( "reflect" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/consensus/api/transaction" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/consensus/api/transaction" ) const keySeedPrefix = "oasis-core staking test vectors: " diff --git a/go/staking/tests/debug/debug_stake.go b/go/staking/tests/debug/debug_stake.go index 12815698122..4937580731d 100644 --- a/go/staking/tests/debug/debug_stake.go +++ b/go/staking/tests/debug/debug_stake.go @@ -5,10 +5,10 @@ import ( "math" "math/big" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/quantity" - "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + "github.com/oasisprotocol/oasis-core/go/staking/api" ) var ( diff --git a/go/staking/tests/tester.go b/go/staking/tests/tester.go index 7f9f1177f40..dad076ce02b 100644 --- a/go/staking/tests/tester.go +++ b/go/staking/tests/tester.go @@ -9,19 +9,19 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/quantity" - consensusAPI "github.com/oasislabs/oasis-core/go/consensus/api" - tendermintTests "github.com/oasislabs/oasis-core/go/consensus/tendermint/tests" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - epochtimeTests "github.com/oasislabs/oasis-core/go/epochtime/tests" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/staking/api" - "github.com/oasislabs/oasis-core/go/staking/tests/debug" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/quantity" + consensusAPI "github.com/oasisprotocol/oasis-core/go/consensus/api" + tendermintTests "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/tests" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + epochtimeTests "github.com/oasisprotocol/oasis-core/go/epochtime/tests" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/staking/tests/debug" ) const recvTimeout = 5 * time.Second diff --git a/go/storage/api/api.go b/go/storage/api/api.go index 56860c48afe..0b197f91b27 100644 --- a/go/storage/api/api.go +++ b/go/storage/api/api.go @@ -4,16 +4,16 @@ package api import ( "context" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/checkpoint" - nodedb "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - mkvsNode "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/checkpoint" + nodedb "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + mkvsNode "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) const ( diff --git a/go/storage/api/grpc.go b/go/storage/api/grpc.go index df3dbb25b8a..026ba515dce 100644 --- a/go/storage/api/grpc.go +++ b/go/storage/api/grpc.go @@ -8,10 +8,10 @@ import ( "google.golang.org/grpc" - "github.com/oasislabs/oasis-core/go/common" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/storage/mkvs/checkpoint" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/checkpoint" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) var ( diff --git a/go/storage/api/root_cache.go b/go/storage/api/root_cache.go index 23f7d007ea2..ad2c0be9c20 100644 --- a/go/storage/api/root_cache.go +++ b/go/storage/api/root_cache.go @@ -5,13 +5,13 @@ import ( "fmt" "sync" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cache/lru" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs" - nodedb "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cache/lru" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" + nodedb "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) // RootCache is a LRU based tree cache. diff --git a/go/storage/client/client.go b/go/storage/client/client.go index 1425ce79c83..5165ed16b4e 100644 --- a/go/storage/client/client.go +++ b/go/storage/client/client.go @@ -14,14 +14,14 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/mathrand" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/runtime/committee" - "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/checkpoint" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/mathrand" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/runtime/committee" + "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/checkpoint" ) var ( @@ -209,7 +209,7 @@ func (b *storageClientBackend) writeWithClient( continue } // TODO: Only wait for F+1 successful writes: - // https://github.com/oasislabs/oasis-core/issues/1821. + // https://github.com/oasisprotocol/oasis-core/issues/1821. receipts = append(receipts, receipt) } @@ -297,7 +297,7 @@ func (b *storageClientBackend) readWithClient( // TODO: Use a more clever approach to choose the order in which to read // from the connected nodes: - // https://github.com/oasislabs/oasis-core/issues/1815. + // https://github.com/oasisprotocol/oasis-core/issues/1815. rng := rand.New(mathrand.New(cryptorand.Reader)) var err error diff --git a/go/storage/client/init.go b/go/storage/client/init.go index d64e21b003c..b8e632c6188 100644 --- a/go/storage/client/init.go +++ b/go/storage/client/init.go @@ -4,14 +4,14 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/runtime/committee" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/runtime/committee" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/storage/api" ) // BackendName is the name of this implementation. diff --git a/go/storage/client/tests/tests.go b/go/storage/client/tests/tests.go index f4b9434e645..82300e0b3b3 100644 --- a/go/storage/client/tests/tests.go +++ b/go/storage/client/tests/tests.go @@ -7,16 +7,16 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/node" - consensusAPI "github.com/oasislabs/oasis-core/go/consensus/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - epochtimeTests "github.com/oasislabs/oasis-core/go/epochtime/tests" - registryTests "github.com/oasislabs/oasis-core/go/registry/tests" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - "github.com/oasislabs/oasis-core/go/storage/api" - storageClient "github.com/oasislabs/oasis-core/go/storage/client" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/node" + consensusAPI "github.com/oasisprotocol/oasis-core/go/consensus/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + epochtimeTests "github.com/oasisprotocol/oasis-core/go/epochtime/tests" + registryTests "github.com/oasisprotocol/oasis-core/go/registry/tests" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/storage/api" + storageClient "github.com/oasisprotocol/oasis-core/go/storage/client" ) const recvTimeout = 5 * time.Second diff --git a/go/storage/crashing.go b/go/storage/crashing.go index a163c7cdb42..b8cd3ac580e 100644 --- a/go/storage/crashing.go +++ b/go/storage/crashing.go @@ -3,8 +3,8 @@ package storage import ( "context" - "github.com/oasislabs/oasis-core/go/common/crash" - "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common/crash" + "github.com/oasisprotocol/oasis-core/go/storage/api" ) const ( diff --git a/go/storage/crashing_test.go b/go/storage/crashing_test.go index 24c2975ee61..cc746ae886c 100644 --- a/go/storage/crashing_test.go +++ b/go/storage/crashing_test.go @@ -8,12 +8,12 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crash" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/database" - "github.com/oasislabs/oasis-core/go/storage/tests" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crash" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/database" + "github.com/oasisprotocol/oasis-core/go/storage/tests" ) func TestCrashingBackendDoNotInterfere(t *testing.T) { diff --git a/go/storage/database/database.go b/go/storage/database/database.go index 4d607753b8c..7f1a75832fb 100644 --- a/go/storage/database/database.go +++ b/go/storage/database/database.go @@ -8,12 +8,12 @@ import ( "io" "path/filepath" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/checkpoint" - nodedb "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - badgerNodedb "github.com/oasislabs/oasis-core/go/storage/mkvs/db/badger" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/checkpoint" + nodedb "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + badgerNodedb "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/badger" ) const ( diff --git a/go/storage/database/database_test.go b/go/storage/database/database_test.go index 23fe28dd393..4279d9462ad 100644 --- a/go/storage/database/database_test.go +++ b/go/storage/database/database_test.go @@ -9,10 +9,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/tests" + "github.com/oasisprotocol/oasis-core/go/common" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/tests" ) func TestStorageDatabase(t *testing.T) { diff --git a/go/storage/fuzz/fuzz.go b/go/storage/fuzz/fuzz.go index 5c59d436ea7..da6f0f24342 100644 --- a/go/storage/fuzz/fuzz.go +++ b/go/storage/fuzz/fuzz.go @@ -6,13 +6,13 @@ import ( "context" "io/ioutil" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - commonFuzz "github.com/oasislabs/oasis-core/go/common/fuzz" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/storage" - "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + commonFuzz "github.com/oasisprotocol/oasis-core/go/common/fuzz" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/storage" + "github.com/oasisprotocol/oasis-core/go/storage/api" ) const ( diff --git a/go/storage/init.go b/go/storage/init.go index b73fbde0c1b..4864e108b0e 100644 --- a/go/storage/init.go +++ b/go/storage/init.go @@ -10,14 +10,14 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/identity" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - registry "github.com/oasislabs/oasis-core/go/registry/api" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/client" - "github.com/oasislabs/oasis-core/go/storage/database" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/identity" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/client" + "github.com/oasisprotocol/oasis-core/go/storage/database" ) const ( diff --git a/go/storage/metrics.go b/go/storage/metrics.go index 3c1a3a4af03..1b1b06b12e2 100644 --- a/go/storage/metrics.go +++ b/go/storage/metrics.go @@ -7,9 +7,9 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/checkpoint" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/checkpoint" ) var ( diff --git a/go/storage/mkvs/cache.go b/go/storage/mkvs/cache.go index d507494ad9c..7f9fe621df5 100644 --- a/go/storage/mkvs/cache.go +++ b/go/storage/mkvs/cache.go @@ -7,10 +7,10 @@ import ( "fmt" "sync" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - db "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + db "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" ) var errRemoveLocked = errors.New("mkvs: tried to remove locked pointer") diff --git a/go/storage/mkvs/checkpoint/checkpoint.go b/go/storage/mkvs/checkpoint/checkpoint.go index 9cd7c439800..51495da3969 100644 --- a/go/storage/mkvs/checkpoint/checkpoint.go +++ b/go/storage/mkvs/checkpoint/checkpoint.go @@ -5,10 +5,10 @@ import ( "context" "io" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) const moduleName = "storage/mkvs/checkpoint" diff --git a/go/storage/mkvs/checkpoint/checkpoint_test.go b/go/storage/mkvs/checkpoint/checkpoint_test.go index 5ac556a7c22..44711b2393f 100644 --- a/go/storage/mkvs/checkpoint/checkpoint_test.go +++ b/go/storage/mkvs/checkpoint/checkpoint_test.go @@ -13,13 +13,13 @@ import ( "github.com/golang/snappy" "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs" - db "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - badgerDb "github.com/oasislabs/oasis-core/go/storage/mkvs/db/badger" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" + db "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + badgerDb "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/badger" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) var testNs = common.NewTestNamespaceFromSeed([]byte("oasis mkvs checkpoint test ns"), 0) diff --git a/go/storage/mkvs/checkpoint/checkpointer.go b/go/storage/mkvs/checkpoint/checkpointer.go index 905b1051433..cb7ef52ad68 100644 --- a/go/storage/mkvs/checkpoint/checkpointer.go +++ b/go/storage/mkvs/checkpoint/checkpointer.go @@ -8,11 +8,11 @@ import ( "github.com/eapache/channels" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/logging" - db "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/logging" + db "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) // CheckpointerConfig is a checkpointer configuration. diff --git a/go/storage/mkvs/checkpoint/chunk.go b/go/storage/mkvs/checkpoint/chunk.go index 30856715a03..3f6a7c9212b 100644 --- a/go/storage/mkvs/checkpoint/chunk.go +++ b/go/storage/mkvs/checkpoint/chunk.go @@ -9,12 +9,12 @@ import ( "github.com/golang/snappy" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs" - db "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" + db "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" ) func createChunk( diff --git a/go/storage/mkvs/checkpoint/file.go b/go/storage/mkvs/checkpoint/file.go index f615dec2f3e..06c01b431af 100644 --- a/go/storage/mkvs/checkpoint/file.go +++ b/go/storage/mkvs/checkpoint/file.go @@ -9,12 +9,12 @@ import ( "path/filepath" "strconv" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs" - db "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" + db "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) const ( diff --git a/go/storage/mkvs/checkpoint/restorer.go b/go/storage/mkvs/checkpoint/restorer.go index 5d5d9c9255e..20032b36419 100644 --- a/go/storage/mkvs/checkpoint/restorer.go +++ b/go/storage/mkvs/checkpoint/restorer.go @@ -6,7 +6,7 @@ import ( "io" "sync" - db "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" + db "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" ) // restorer is a checkpoint restorer. diff --git a/go/storage/mkvs/commit.go b/go/storage/mkvs/commit.go index 37187f6195f..d9e8cfab644 100644 --- a/go/storage/mkvs/commit.go +++ b/go/storage/mkvs/commit.go @@ -3,11 +3,11 @@ package mkvs import ( "context" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - db "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + db "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) // Implements Tree. diff --git a/go/storage/mkvs/db/api/api.go b/go/storage/mkvs/db/api/api.go index 6819d491746..189630f9adc 100644 --- a/go/storage/mkvs/db/api/api.go +++ b/go/storage/mkvs/db/api/api.go @@ -4,11 +4,11 @@ package api import ( "context" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/errors" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/errors" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) // ModuleName is the module name. diff --git a/go/storage/mkvs/db/api/helpers.go b/go/storage/mkvs/db/api/helpers.go index 695b537cc6a..6fee860fe06 100644 --- a/go/storage/mkvs/db/api/helpers.go +++ b/go/storage/mkvs/db/api/helpers.go @@ -3,9 +3,9 @@ package api import ( "context" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) // HashedDBWriteLog is a write log helper for database backends that can reference nodes by hash. diff --git a/go/storage/mkvs/db/badger/badger.go b/go/storage/mkvs/db/badger/badger.go index 52928dc2bee..e4ae7eecf7e 100644 --- a/go/storage/mkvs/db/badger/badger.go +++ b/go/storage/mkvs/db/badger/badger.go @@ -9,15 +9,15 @@ import ( "github.com/dgraph-io/badger/v2" "github.com/dgraph-io/badger/v2/options" - "github.com/oasislabs/oasis-core/go/common" - cmnBadger "github.com/oasislabs/oasis-core/go/common/badger" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/keyformat" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common" + cmnBadger "github.com/oasisprotocol/oasis-core/go/common/badger" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/keyformat" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) const dbVersion = 3 diff --git a/go/storage/mkvs/db/badger/metadata.go b/go/storage/mkvs/db/badger/metadata.go index 1a211f4ed4a..172936c22be 100644 --- a/go/storage/mkvs/db/badger/metadata.go +++ b/go/storage/mkvs/db/badger/metadata.go @@ -6,9 +6,9 @@ import ( "github.com/dgraph-io/badger/v2" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" ) // serializedMetadata is the on-disk serialized metadata. diff --git a/go/storage/mkvs/db/db_test.go b/go/storage/mkvs/db/db_test.go index cbdb2467da3..16d8f09a5f9 100644 --- a/go/storage/mkvs/db/db_test.go +++ b/go/storage/mkvs/db/db_test.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) const ( diff --git a/go/storage/mkvs/debug.go b/go/storage/mkvs/debug.go index fd096f55269..7096d299484 100644 --- a/go/storage/mkvs/debug.go +++ b/go/storage/mkvs/debug.go @@ -6,7 +6,7 @@ import ( "io" "strings" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) // Implements Tree. diff --git a/go/storage/mkvs/fuzz/node.go b/go/storage/mkvs/fuzz/node.go index ec4ecf0e1b9..5cf4356cdb4 100644 --- a/go/storage/mkvs/fuzz/node.go +++ b/go/storage/mkvs/fuzz/node.go @@ -2,7 +2,7 @@ package fuzz -import "github.com/oasislabs/oasis-core/go/storage/mkvs/node" +import "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" func FuzzNode(data []byte) int { n, err := node.UnmarshalBinary(data) diff --git a/go/storage/mkvs/fuzz/proof.go b/go/storage/mkvs/fuzz/proof.go index d2bfc2b040a..f3c542de41f 100644 --- a/go/storage/mkvs/fuzz/proof.go +++ b/go/storage/mkvs/fuzz/proof.go @@ -5,8 +5,8 @@ package fuzz import ( "context" - commonFuzz "github.com/oasislabs/oasis-core/go/common/fuzz" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" + commonFuzz "github.com/oasisprotocol/oasis-core/go/common/fuzz" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" ) var proofFuzzer *commonFuzz.InterfaceFuzzer diff --git a/go/storage/mkvs/fuzz/tree.go b/go/storage/mkvs/fuzz/tree.go index 0406e3d8277..afe68f6abf4 100644 --- a/go/storage/mkvs/fuzz/tree.go +++ b/go/storage/mkvs/fuzz/tree.go @@ -11,11 +11,11 @@ import ( "sort" "io/ioutil" - "github.com/oasislabs/oasis-core/go/common" - commonFuzz "github.com/oasislabs/oasis-core/go/common/fuzz" - "github.com/oasislabs/oasis-core/go/storage/mkvs" - mkvsNode "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - mkvsTests "github.com/oasislabs/oasis-core/go/storage/mkvs/tests" + "github.com/oasisprotocol/oasis-core/go/common" + commonFuzz "github.com/oasisprotocol/oasis-core/go/common/fuzz" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" + mkvsNode "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + mkvsTests "github.com/oasisprotocol/oasis-core/go/storage/mkvs/tests" ) var treeFuzzer *commonFuzz.InterfaceFuzzer diff --git a/go/storage/mkvs/insert.go b/go/storage/mkvs/insert.go index 0bb71b674d9..de03b238967 100644 --- a/go/storage/mkvs/insert.go +++ b/go/storage/mkvs/insert.go @@ -5,7 +5,7 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) // Implements Tree. diff --git a/go/storage/mkvs/interop/cmd/protocol_server.go b/go/storage/mkvs/interop/cmd/protocol_server.go index a34020540e2..d2a85583514 100644 --- a/go/storage/mkvs/interop/cmd/protocol_server.go +++ b/go/storage/mkvs/interop/cmd/protocol_server.go @@ -5,14 +5,14 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - memorySigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - genesisTestHelpers "github.com/oasislabs/oasis-core/go/genesis/tests" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/background" - storage "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/database" + memorySigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + genesisTestHelpers "github.com/oasisprotocol/oasis-core/go/genesis/tests" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/background" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/database" ) const ( diff --git a/go/storage/mkvs/interop/cmd/root.go b/go/storage/mkvs/interop/cmd/root.go index f4ad23ad8e7..008ff95c9fa 100644 --- a/go/storage/mkvs/interop/cmd/root.go +++ b/go/storage/mkvs/interop/cmd/root.go @@ -4,7 +4,7 @@ package cmd import ( "github.com/spf13/cobra" - "github.com/oasislabs/oasis-core/go/common/version" + "github.com/oasisprotocol/oasis-core/go/common/version" ) var ( diff --git a/go/storage/mkvs/interop/main.go b/go/storage/mkvs/interop/main.go index e27199947b8..98cc3416f84 100644 --- a/go/storage/mkvs/interop/main.go +++ b/go/storage/mkvs/interop/main.go @@ -2,7 +2,7 @@ package main import ( - "github.com/oasislabs/oasis-core/go/storage/mkvs/interop/cmd" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/interop/cmd" ) func main() { diff --git a/go/storage/mkvs/iterator.go b/go/storage/mkvs/iterator.go index eed35b360d7..5ea7ea19e3a 100644 --- a/go/storage/mkvs/iterator.go +++ b/go/storage/mkvs/iterator.go @@ -4,9 +4,9 @@ import ( "context" "errors" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" ) var errClosed = errors.New("iterator: use of closed iterator") diff --git a/go/storage/mkvs/iterator_test.go b/go/storage/mkvs/iterator_test.go index 77a448722cc..3089063dc44 100644 --- a/go/storage/mkvs/iterator_test.go +++ b/go/storage/mkvs/iterator_test.go @@ -7,9 +7,9 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) func TestIterator(t *testing.T) { diff --git a/go/storage/mkvs/lookup.go b/go/storage/mkvs/lookup.go index 6927f60c285..02b95c9fe00 100644 --- a/go/storage/mkvs/lookup.go +++ b/go/storage/mkvs/lookup.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" ) // Implements Tree. diff --git a/go/storage/mkvs/marshal.go b/go/storage/mkvs/marshal.go index 8b144ca9587..fe2812e97df 100644 --- a/go/storage/mkvs/marshal.go +++ b/go/storage/mkvs/marshal.go @@ -1,7 +1,7 @@ package mkvs import ( - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) var ( diff --git a/go/storage/mkvs/mkvs.go b/go/storage/mkvs/mkvs.go index 0ba3577ec8a..07b31aa455b 100644 --- a/go/storage/mkvs/mkvs.go +++ b/go/storage/mkvs/mkvs.go @@ -6,11 +6,11 @@ import ( "errors" "io" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) var ( diff --git a/go/storage/mkvs/node/node.go b/go/storage/mkvs/node/node.go index 376a0df07ef..e231138746f 100644 --- a/go/storage/mkvs/node/node.go +++ b/go/storage/mkvs/node/node.go @@ -10,8 +10,8 @@ import ( "fmt" "unsafe" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" ) var ( diff --git a/go/storage/mkvs/node/node_test.go b/go/storage/mkvs/node/node_test.go index b9902336b18..cf874e557da 100644 --- a/go/storage/mkvs/node/node_test.go +++ b/go/storage/mkvs/node/node_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" ) func TestSerializationLeafNode(t *testing.T) { diff --git a/go/storage/mkvs/overlay.go b/go/storage/mkvs/overlay.go index 903888e8993..00dc26a8dda 100644 --- a/go/storage/mkvs/overlay.go +++ b/go/storage/mkvs/overlay.go @@ -4,8 +4,8 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" ) var _ OverlayTree = (*treeOverlay)(nil) diff --git a/go/storage/mkvs/overlay_test.go b/go/storage/mkvs/overlay_test.go index 87434ec6d78..9c122b5741b 100644 --- a/go/storage/mkvs/overlay_test.go +++ b/go/storage/mkvs/overlay_test.go @@ -6,8 +6,8 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) func TestOverlay(t *testing.T) { diff --git a/go/storage/mkvs/prefetch.go b/go/storage/mkvs/prefetch.go index d26368af4bc..5153101df16 100644 --- a/go/storage/mkvs/prefetch.go +++ b/go/storage/mkvs/prefetch.go @@ -4,8 +4,8 @@ import ( "bytes" "context" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" ) // Implements Tree. diff --git a/go/storage/mkvs/remove.go b/go/storage/mkvs/remove.go index c0556a7d35d..b39bd888281 100644 --- a/go/storage/mkvs/remove.go +++ b/go/storage/mkvs/remove.go @@ -4,7 +4,7 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) // Implements Tree. diff --git a/go/storage/mkvs/syncer/merge.go b/go/storage/mkvs/syncer/merge.go index a716da84eb7..6827eed8324 100644 --- a/go/storage/mkvs/syncer/merge.go +++ b/go/storage/mkvs/syncer/merge.go @@ -5,7 +5,7 @@ import ( "errors" "fmt" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) type SubtreeMerger struct { diff --git a/go/storage/mkvs/syncer/proof.go b/go/storage/mkvs/syncer/proof.go index fa5b9944034..9420370b7ae 100644 --- a/go/storage/mkvs/syncer/proof.go +++ b/go/storage/mkvs/syncer/proof.go @@ -5,8 +5,8 @@ import ( "errors" "fmt" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) const ( diff --git a/go/storage/mkvs/syncer/syncer.go b/go/storage/mkvs/syncer/syncer.go index 7a1b38fe5f9..e748c782e0b 100644 --- a/go/storage/mkvs/syncer/syncer.go +++ b/go/storage/mkvs/syncer/syncer.go @@ -5,8 +5,8 @@ import ( "context" "errors" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) var ( diff --git a/go/storage/mkvs/syncer_test.go b/go/storage/mkvs/syncer_test.go index 7d103000a4f..27830f5014f 100644 --- a/go/storage/mkvs/syncer_test.go +++ b/go/storage/mkvs/syncer_test.go @@ -7,11 +7,11 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" ) func TestProof(t *testing.T) { diff --git a/go/storage/mkvs/tree.go b/go/storage/mkvs/tree.go index 2dfa81aeb10..8ca84dc7dd2 100644 --- a/go/storage/mkvs/tree.go +++ b/go/storage/mkvs/tree.go @@ -3,10 +3,10 @@ package mkvs import ( "context" - db "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + db "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) var _ Tree = (*tree)(nil) diff --git a/go/storage/mkvs/tree_test.go b/go/storage/mkvs/tree_test.go index 16165d95b15..79631cbaaaf 100644 --- a/go/storage/mkvs/tree_test.go +++ b/go/storage/mkvs/tree_test.go @@ -13,15 +13,15 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - db "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - badgerDb "github.com/oasislabs/oasis-core/go/storage/mkvs/db/badger" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - "github.com/oasislabs/oasis-core/go/storage/mkvs/syncer" - mkvsTests "github.com/oasislabs/oasis-core/go/storage/mkvs/tests" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + db "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + badgerDb "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/badger" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/syncer" + mkvsTests "github.com/oasisprotocol/oasis-core/go/storage/mkvs/tests" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) const ( diff --git a/go/storage/mkvs/writelog/writelog.go b/go/storage/mkvs/writelog/writelog.go index e28a578a6ea..d763285feec 100644 --- a/go/storage/mkvs/writelog/writelog.go +++ b/go/storage/mkvs/writelog/writelog.go @@ -4,7 +4,7 @@ import ( "bytes" "encoding/json" - "github.com/oasislabs/oasis-core/go/storage/mkvs/node" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" ) // WriteLog is a write log. diff --git a/go/storage/tests/tester.go b/go/storage/tests/tester.go index 0323a8b9d1e..a45aebc0dda 100644 --- a/go/storage/tests/tester.go +++ b/go/storage/tests/tester.go @@ -11,13 +11,13 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - genesisTestHelpers "github.com/oasislabs/oasis-core/go/genesis/tests" - "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs" - "github.com/oasislabs/oasis-core/go/storage/mkvs/checkpoint" - "github.com/oasislabs/oasis-core/go/storage/mkvs/writelog" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + genesisTestHelpers "github.com/oasisprotocol/oasis-core/go/genesis/tests" + "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/checkpoint" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/writelog" ) var testValues = [][]byte{ diff --git a/go/upgrade/api/api.go b/go/upgrade/api/api.go index 679199f113a..338e3082c6d 100644 --- a/go/upgrade/api/api.go +++ b/go/upgrade/api/api.go @@ -4,8 +4,8 @@ package api import ( "context" - "github.com/oasislabs/oasis-core/go/common/errors" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common/errors" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) const ( diff --git a/go/upgrade/dummy.go b/go/upgrade/dummy.go index 7cb4dcbb884..5c892bf47ec 100644 --- a/go/upgrade/dummy.go +++ b/go/upgrade/dummy.go @@ -3,8 +3,8 @@ package upgrade import ( "context" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/upgrade/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/upgrade/api" ) var ( diff --git a/go/upgrade/migrations/dummy.go b/go/upgrade/migrations/dummy.go index e95efd86fee..dee1bad9343 100644 --- a/go/upgrade/migrations/dummy.go +++ b/go/upgrade/migrations/dummy.go @@ -3,14 +3,14 @@ package migrations import ( "fmt" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/memory" - "github.com/oasislabs/oasis-core/go/common/entity" - abciAPI "github.com/oasislabs/oasis-core/go/consensus/tendermint/api" - registryState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/registry/state" - stakingState "github.com/oasislabs/oasis-core/go/consensus/tendermint/apps/staking/state" - registry "github.com/oasislabs/oasis-core/go/registry/api" - staking "github.com/oasislabs/oasis-core/go/staking/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/memory" + "github.com/oasisprotocol/oasis-core/go/common/entity" + abciAPI "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/api" + registryState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/registry/state" + stakingState "github.com/oasisprotocol/oasis-core/go/consensus/tendermint/apps/staking/state" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + staking "github.com/oasisprotocol/oasis-core/go/staking/api" ) const ( diff --git a/go/upgrade/migrations/migrations.go b/go/upgrade/migrations/migrations.go index e4200d9feff..4bd88bb5aad 100644 --- a/go/upgrade/migrations/migrations.go +++ b/go/upgrade/migrations/migrations.go @@ -2,8 +2,8 @@ package migrations import ( - "github.com/oasislabs/oasis-core/go/common/logging" - upgradeApi "github.com/oasislabs/oasis-core/go/upgrade/api" + "github.com/oasisprotocol/oasis-core/go/common/logging" + upgradeApi "github.com/oasisprotocol/oasis-core/go/upgrade/api" ) const ( diff --git a/go/upgrade/upgrade.go b/go/upgrade/upgrade.go index 1e93e5f4731..91957d237b1 100644 --- a/go/upgrade/upgrade.go +++ b/go/upgrade/upgrade.go @@ -13,13 +13,13 @@ import ( "os" "sync" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/persistent" - "github.com/oasislabs/oasis-core/go/common/version" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/upgrade/api" - "github.com/oasislabs/oasis-core/go/upgrade/migrations" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/persistent" + "github.com/oasisprotocol/oasis-core/go/common/version" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/upgrade/api" + "github.com/oasisprotocol/oasis-core/go/upgrade/migrations" ) var ( diff --git a/go/worker/common/committee/accessctl.go b/go/worker/common/committee/accessctl.go index b9dc73e8457..804ebcd23c2 100644 --- a/go/worker/common/committee/accessctl.go +++ b/go/worker/common/committee/accessctl.go @@ -1,11 +1,11 @@ package committee import ( - "github.com/oasislabs/oasis-core/go/common/accessctl" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/runtime/committee" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/runtime/committee" ) var logger = logging.GetLogger("worker/common/committee/accessctl") diff --git a/go/worker/common/committee/group.go b/go/worker/common/committee/group.go index 5dc5d28b90f..a5fcace3b48 100644 --- a/go/worker/common/committee/group.go +++ b/go/worker/common/committee/group.go @@ -8,21 +8,21 @@ import ( "github.com/opentracing/opentracing-go" opentracingExt "github.com/opentracing/opentracing-go/ext" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/tracing" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - "github.com/oasislabs/oasis-core/go/epochtime/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" - "github.com/oasislabs/oasis-core/go/runtime/committee" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/tracing" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + "github.com/oasisprotocol/oasis-core/go/epochtime/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" + "github.com/oasisprotocol/oasis-core/go/runtime/committee" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" ) // MessageHandler handles messages from other nodes. diff --git a/go/worker/common/committee/node.go b/go/worker/common/committee/node.go index b1b2b607e0a..674badcc480 100644 --- a/go/worker/common/committee/node.go +++ b/go/worker/common/committee/node.go @@ -7,17 +7,17 @@ import ( "github.com/prometheus/client_golang/prometheus" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - keymanagerApi "github.com/oasislabs/oasis-core/go/keymanager/api" - keymanagerClient "github.com/oasislabs/oasis-core/go/keymanager/client" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/runtime/committee" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" - storage "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + keymanagerApi "github.com/oasisprotocol/oasis-core/go/keymanager/api" + keymanagerClient "github.com/oasisprotocol/oasis-core/go/keymanager/client" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/runtime/committee" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" ) var ( diff --git a/go/worker/common/committee/runtime_host.go b/go/worker/common/committee/runtime_host.go index 7b886fd5472..3cc1934fb5b 100644 --- a/go/worker/common/committee/runtime_host.go +++ b/go/worker/common/committee/runtime_host.go @@ -9,15 +9,15 @@ import ( "github.com/cenkalti/backoff/v4" "github.com/opentracing/opentracing-go" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/logging" - keymanagerApi "github.com/oasislabs/oasis-core/go/keymanager/api" - keymanagerClient "github.com/oasislabs/oasis-core/go/keymanager/client" - "github.com/oasislabs/oasis-core/go/runtime/host" - "github.com/oasislabs/oasis-core/go/runtime/host/protocol" - "github.com/oasislabs/oasis-core/go/runtime/localstorage" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" - storage "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/logging" + keymanagerApi "github.com/oasisprotocol/oasis-core/go/keymanager/api" + keymanagerClient "github.com/oasisprotocol/oasis-core/go/keymanager/client" + "github.com/oasisprotocol/oasis-core/go/runtime/host" + "github.com/oasisprotocol/oasis-core/go/runtime/host/protocol" + "github.com/oasisprotocol/oasis-core/go/runtime/localstorage" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" ) const ( diff --git a/go/worker/common/config.go b/go/worker/common/config.go index 82c81dc7370..55dd8c059f1 100644 --- a/go/worker/common/config.go +++ b/go/worker/common/config.go @@ -7,16 +7,16 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - ias "github.com/oasislabs/oasis-core/go/ias/api" - cmdFlags "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - runtimeHost "github.com/oasislabs/oasis-core/go/runtime/host" - hostMock "github.com/oasislabs/oasis-core/go/runtime/host/mock" - hostSandbox "github.com/oasislabs/oasis-core/go/runtime/host/sandbox" - hostSgx "github.com/oasislabs/oasis-core/go/runtime/host/sgx" - "github.com/oasislabs/oasis-core/go/worker/common/configparser" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + ias "github.com/oasisprotocol/oasis-core/go/ias/api" + cmdFlags "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + runtimeHost "github.com/oasisprotocol/oasis-core/go/runtime/host" + hostMock "github.com/oasisprotocol/oasis-core/go/runtime/host/mock" + hostSandbox "github.com/oasisprotocol/oasis-core/go/runtime/host/sandbox" + hostSgx "github.com/oasisprotocol/oasis-core/go/runtime/host/sgx" + "github.com/oasisprotocol/oasis-core/go/worker/common/configparser" ) var ( diff --git a/go/worker/common/configparser/configparser.go b/go/worker/common/configparser/configparser.go index 032e1eea3ab..a3b80d0f1b5 100644 --- a/go/worker/common/configparser/configparser.go +++ b/go/worker/common/configparser/configparser.go @@ -5,8 +5,8 @@ import ( "net" "strconv" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/node" ) // ParseAddressList parses addresses. diff --git a/go/worker/common/p2p/crypto.go b/go/worker/common/p2p/crypto.go index 2307f065768..9cce861db56 100644 --- a/go/worker/common/p2p/crypto.go +++ b/go/worker/common/p2p/crypto.go @@ -6,7 +6,7 @@ import ( libp2pCrypto "github.com/libp2p/go-libp2p-core/crypto" libp2pCryptoPb "github.com/libp2p/go-libp2p-core/crypto/pb" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" ) var ( diff --git a/go/worker/common/p2p/p2p.go b/go/worker/common/p2p/p2p.go index 17146e97c09..9917bc96423 100644 --- a/go/worker/common/p2p/p2p.go +++ b/go/worker/common/p2p/p2p.go @@ -20,14 +20,14 @@ import ( "github.com/multiformats/go-multiaddr-net" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/version" - registryAPI "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/worker/common/configparser" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/version" + registryAPI "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/worker/common/configparser" ) var ( diff --git a/go/worker/common/p2p/stream.go b/go/worker/common/p2p/stream.go index cfe0c06af47..b679244cf29 100644 --- a/go/worker/common/p2p/stream.go +++ b/go/worker/common/p2p/stream.go @@ -5,7 +5,7 @@ import ( "github.com/libp2p/go-libp2p-core" - "github.com/oasislabs/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/cbor" ) const moduleName = "p2p" diff --git a/go/worker/common/p2p/types.go b/go/worker/common/p2p/types.go index b51b6786d36..87eb0602bcd 100644 --- a/go/worker/common/p2p/types.go +++ b/go/worker/common/p2p/types.go @@ -1,8 +1,8 @@ package p2p import ( - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" ) // NOTE: Bump CommitteeProtocol version in go/common/version if you diff --git a/go/worker/common/runtime_host.go b/go/worker/common/runtime_host.go index 71fa7d48049..3d632e5f925 100644 --- a/go/worker/common/runtime_host.go +++ b/go/worker/common/runtime_host.go @@ -5,9 +5,9 @@ import ( "fmt" "sync" - "github.com/oasislabs/oasis-core/go/runtime/host" - "github.com/oasislabs/oasis-core/go/runtime/host/protocol" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" + "github.com/oasisprotocol/oasis-core/go/runtime/host" + "github.com/oasisprotocol/oasis-core/go/runtime/host/protocol" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" ) // RuntimeHostNode provides methods for nodes that need to host runtimes. diff --git a/go/worker/common/worker.go b/go/worker/common/worker.go index f1e7cd512ae..90c84ea2354 100644 --- a/go/worker/common/worker.go +++ b/go/worker/common/worker.go @@ -3,19 +3,19 @@ package common import ( "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/grpc/policy" - policyAPI "github.com/oasislabs/oasis-core/go/common/grpc/policy/api" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - ias "github.com/oasislabs/oasis-core/go/ias/api" - keymanagerApi "github.com/oasislabs/oasis-core/go/keymanager/api" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" - "github.com/oasislabs/oasis-core/go/worker/common/committee" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy" + policyAPI "github.com/oasisprotocol/oasis-core/go/common/grpc/policy/api" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + ias "github.com/oasisprotocol/oasis-core/go/ias/api" + keymanagerApi "github.com/oasisprotocol/oasis-core/go/keymanager/api" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" + "github.com/oasisprotocol/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" ) // Worker is a garbage bag with lower level services and common runtime objects. diff --git a/go/worker/compute/executor/committee/init.go b/go/worker/compute/executor/committee/init.go index 8ce3f638163..98415abb2fb 100644 --- a/go/worker/compute/executor/committee/init.go +++ b/go/worker/compute/executor/committee/init.go @@ -1,7 +1,7 @@ package committee import ( - "github.com/oasislabs/oasis-core/go/common/crash" + "github.com/oasisprotocol/oasis-core/go/common/crash" ) const ( diff --git a/go/worker/compute/executor/committee/node.go b/go/worker/compute/executor/committee/node.go index a31189f0e69..ee8202a8d37 100644 --- a/go/worker/compute/executor/committee/node.go +++ b/go/worker/compute/executor/committee/node.go @@ -11,28 +11,28 @@ import ( "github.com/opentracing/opentracing-go" "github.com/prometheus/client_golang/prometheus" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crash" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/tracing" - "github.com/oasislabs/oasis-core/go/common/version" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" - runtimeCommittee "github.com/oasislabs/oasis-core/go/runtime/committee" - "github.com/oasislabs/oasis-core/go/runtime/host/protocol" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - storage "github.com/oasislabs/oasis-core/go/storage/api" - commonWorker "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/common/committee" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" - mergeCommittee "github.com/oasislabs/oasis-core/go/worker/compute/merge/committee" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/tracing" + "github.com/oasisprotocol/oasis-core/go/common/version" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" + runtimeCommittee "github.com/oasisprotocol/oasis-core/go/runtime/committee" + "github.com/oasisprotocol/oasis-core/go/runtime/host/protocol" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + commonWorker "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" + mergeCommittee "github.com/oasisprotocol/oasis-core/go/worker/compute/merge/committee" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) var ( diff --git a/go/worker/compute/executor/committee/state.go b/go/worker/compute/executor/committee/state.go index 57d14d9a7fc..88e5714a243 100644 --- a/go/worker/compute/executor/committee/state.go +++ b/go/worker/compute/executor/committee/state.go @@ -6,12 +6,12 @@ import ( "github.com/opentracing/opentracing-go" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/runtime/host/protocol" - "github.com/oasislabs/oasis-core/go/runtime/transaction" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/runtime/host/protocol" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" ) // StateName is a symbolic state without the attached values. diff --git a/go/worker/compute/executor/init.go b/go/worker/compute/executor/init.go index c75c89bef04..06b5c96a5d7 100644 --- a/go/worker/compute/executor/init.go +++ b/go/worker/compute/executor/init.go @@ -1,10 +1,10 @@ package executor import ( - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/compute" - "github.com/oasislabs/oasis-core/go/worker/compute/merge" - "github.com/oasislabs/oasis-core/go/worker/registration" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/compute" + "github.com/oasisprotocol/oasis-core/go/worker/compute/merge" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) // New creates a new executor worker. diff --git a/go/worker/compute/executor/tests/tester.go b/go/worker/compute/executor/tests/tester.go index 482e9762b7b..3da2989c70d 100644 --- a/go/worker/compute/executor/tests/tester.go +++ b/go/worker/compute/executor/tests/tester.go @@ -5,11 +5,11 @@ import ( "testing" "time" - "github.com/oasislabs/oasis-core/go/common" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - epochtimeTests "github.com/oasislabs/oasis-core/go/epochtime/tests" - "github.com/oasislabs/oasis-core/go/worker/compute/executor" - "github.com/oasislabs/oasis-core/go/worker/compute/executor/committee" + "github.com/oasisprotocol/oasis-core/go/common" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + epochtimeTests "github.com/oasisprotocol/oasis-core/go/epochtime/tests" + "github.com/oasisprotocol/oasis-core/go/worker/compute/executor" + "github.com/oasisprotocol/oasis-core/go/worker/compute/executor/committee" ) const recvTimeout = 5 * time.Second diff --git a/go/worker/compute/executor/worker.go b/go/worker/compute/executor/worker.go index 36db32f65b6..911ab911133 100644 --- a/go/worker/compute/executor/worker.go +++ b/go/worker/compute/executor/worker.go @@ -4,14 +4,14 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - committeeCommon "github.com/oasislabs/oasis-core/go/worker/common/committee" - "github.com/oasislabs/oasis-core/go/worker/compute/executor/committee" - "github.com/oasislabs/oasis-core/go/worker/compute/merge" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + committeeCommon "github.com/oasisprotocol/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/worker/compute/executor/committee" + "github.com/oasisprotocol/oasis-core/go/worker/compute/merge" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) // Worker is an executor worker handling many runtimes. diff --git a/go/worker/compute/merge/committee/node.go b/go/worker/compute/merge/committee/node.go index d8aa0f9746f..9d8af77a98d 100644 --- a/go/worker/compute/merge/committee/node.go +++ b/go/worker/compute/merge/committee/node.go @@ -11,22 +11,22 @@ import ( "github.com/opentracing/opentracing-go" "github.com/prometheus/client_golang/prometheus" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" - runtimeCommittee "github.com/oasislabs/oasis-core/go/runtime/committee" - scheduler "github.com/oasislabs/oasis-core/go/scheduler/api" - storage "github.com/oasislabs/oasis-core/go/storage/api" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/common/committee" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" + runtimeCommittee "github.com/oasisprotocol/oasis-core/go/runtime/committee" + scheduler "github.com/oasisprotocol/oasis-core/go/scheduler/api" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) var ( diff --git a/go/worker/compute/merge/committee/state.go b/go/worker/compute/merge/committee/state.go index bd4fde6a841..4a452927b6f 100644 --- a/go/worker/compute/merge/committee/state.go +++ b/go/worker/compute/merge/committee/state.go @@ -4,9 +4,9 @@ import ( "context" "time" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/commitment" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/commitment" ) // StateName is a symbolic state without the attached values. diff --git a/go/worker/compute/merge/init.go b/go/worker/compute/merge/init.go index 0c81ce8cb4b..e7ab946ad6f 100644 --- a/go/worker/compute/merge/init.go +++ b/go/worker/compute/merge/init.go @@ -1,9 +1,9 @@ package merge import ( - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/compute" - "github.com/oasislabs/oasis-core/go/worker/registration" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/compute" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) // New creates a new worker. diff --git a/go/worker/compute/merge/worker.go b/go/worker/compute/merge/worker.go index d175179de30..1f5d6e499c7 100644 --- a/go/worker/compute/merge/worker.go +++ b/go/worker/compute/merge/worker.go @@ -4,13 +4,13 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - committeeCommon "github.com/oasislabs/oasis-core/go/worker/common/committee" - "github.com/oasislabs/oasis-core/go/worker/compute/merge/committee" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + committeeCommon "github.com/oasisprotocol/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/worker/compute/merge/committee" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) // Worker is a merge worker. diff --git a/go/worker/compute/txnscheduler/algorithm/api/api.go b/go/worker/compute/txnscheduler/algorithm/api/api.go index ddbc00baaa3..b6e981ec82b 100644 --- a/go/worker/compute/txnscheduler/algorithm/api/api.go +++ b/go/worker/compute/txnscheduler/algorithm/api/api.go @@ -2,9 +2,9 @@ package api import ( - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - "github.com/oasislabs/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + "github.com/oasisprotocol/oasis-core/go/worker/common/committee" ) // Algorithm defines an algorithm for scheduling incoming transaction. diff --git a/go/worker/compute/txnscheduler/algorithm/batching/batching.go b/go/worker/compute/txnscheduler/algorithm/batching/batching.go index 805c0645bf3..b33c824e642 100644 --- a/go/worker/compute/txnscheduler/algorithm/batching/batching.go +++ b/go/worker/compute/txnscheduler/algorithm/batching/batching.go @@ -7,11 +7,11 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/logging" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/worker/common/committee" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/algorithm/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/logging" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/algorithm/api" ) const ( diff --git a/go/worker/compute/txnscheduler/algorithm/batching/batching_test.go b/go/worker/compute/txnscheduler/algorithm/batching/batching_test.go index 72d1f0cb68d..78659d380c4 100644 --- a/go/worker/compute/txnscheduler/algorithm/batching/batching_test.go +++ b/go/worker/compute/txnscheduler/algorithm/batching/batching_test.go @@ -6,7 +6,7 @@ import ( "github.com/spf13/viper" "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/algorithm/tests" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/algorithm/tests" ) func TestBatchingAlgorithm(t *testing.T) { diff --git a/go/worker/compute/txnscheduler/algorithm/batching/incoming_queue.go b/go/worker/compute/txnscheduler/algorithm/batching/incoming_queue.go index 695268ae224..242c90e38e6 100644 --- a/go/worker/compute/txnscheduler/algorithm/batching/incoming_queue.go +++ b/go/worker/compute/txnscheduler/algorithm/batching/incoming_queue.go @@ -4,8 +4,8 @@ import ( "errors" "sync" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/runtime/transaction" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" ) var ( diff --git a/go/worker/compute/txnscheduler/algorithm/init.go b/go/worker/compute/txnscheduler/algorithm/init.go index dc7c141edff..8ca55cf1147 100644 --- a/go/worker/compute/txnscheduler/algorithm/init.go +++ b/go/worker/compute/txnscheduler/algorithm/init.go @@ -5,8 +5,8 @@ import ( flag "github.com/spf13/pflag" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/algorithm/api" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/algorithm/batching" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/algorithm/api" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/algorithm/batching" ) // Flags has the configuration flags. diff --git a/go/worker/compute/txnscheduler/algorithm/tests/tester.go b/go/worker/compute/txnscheduler/algorithm/tests/tester.go index 2dbebf9498d..4aadfa74bba 100644 --- a/go/worker/compute/txnscheduler/algorithm/tests/tester.go +++ b/go/worker/compute/txnscheduler/algorithm/tests/tester.go @@ -7,10 +7,10 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - "github.com/oasislabs/oasis-core/go/worker/common/committee" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/algorithm/api" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + "github.com/oasisprotocol/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/algorithm/api" ) type testDispatcher struct { diff --git a/go/worker/compute/txnscheduler/api/api.go b/go/worker/compute/txnscheduler/api/api.go index e072dd7c60f..e5536587c3e 100644 --- a/go/worker/compute/txnscheduler/api/api.go +++ b/go/worker/compute/txnscheduler/api/api.go @@ -3,10 +3,10 @@ package api import ( "context" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/errors" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/errors" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" ) // ModuleName is the transaction scheduler module name. diff --git a/go/worker/compute/txnscheduler/api/grpc.go b/go/worker/compute/txnscheduler/api/grpc.go index a880a14c4cf..3ab891194db 100644 --- a/go/worker/compute/txnscheduler/api/grpc.go +++ b/go/worker/compute/txnscheduler/api/grpc.go @@ -5,7 +5,7 @@ import ( "google.golang.org/grpc" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" ) var ( diff --git a/go/worker/compute/txnscheduler/committee/init.go b/go/worker/compute/txnscheduler/committee/init.go index 27301dc7352..6bb9b45b601 100644 --- a/go/worker/compute/txnscheduler/committee/init.go +++ b/go/worker/compute/txnscheduler/committee/init.go @@ -1,7 +1,7 @@ package committee import ( - "github.com/oasislabs/oasis-core/go/common/crash" + "github.com/oasisprotocol/oasis-core/go/common/crash" ) const ( diff --git a/go/worker/compute/txnscheduler/committee/node.go b/go/worker/compute/txnscheduler/committee/node.go index 686951092b1..3c751f5d283 100644 --- a/go/worker/compute/txnscheduler/committee/node.go +++ b/go/worker/compute/txnscheduler/committee/node.go @@ -10,30 +10,30 @@ import ( "github.com/opentracing/opentracing-go" "github.com/prometheus/client_golang/prometheus" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crash" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/tracing" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - runtimeCommittee "github.com/oasislabs/oasis-core/go/runtime/committee" - "github.com/oasislabs/oasis-core/go/runtime/host" - "github.com/oasislabs/oasis-core/go/runtime/host/protocol" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - storage "github.com/oasislabs/oasis-core/go/storage/api" - commonWorker "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/common/committee" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" - executorCommittee "github.com/oasislabs/oasis-core/go/worker/compute/executor/committee" - txnSchedulerAlgorithm "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/algorithm" - txnSchedulerAlgorithmApi "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/algorithm/api" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/api" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/tracing" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + runtimeCommittee "github.com/oasisprotocol/oasis-core/go/runtime/committee" + "github.com/oasisprotocol/oasis-core/go/runtime/host" + "github.com/oasisprotocol/oasis-core/go/runtime/host/protocol" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + commonWorker "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" + executorCommittee "github.com/oasisprotocol/oasis-core/go/worker/compute/executor/committee" + txnSchedulerAlgorithm "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/algorithm" + txnSchedulerAlgorithmApi "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/algorithm/api" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/api" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) var ( diff --git a/go/worker/compute/txnscheduler/init.go b/go/worker/compute/txnscheduler/init.go index 3eb21df8c56..a20b743c612 100644 --- a/go/worker/compute/txnscheduler/init.go +++ b/go/worker/compute/txnscheduler/init.go @@ -4,10 +4,10 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/compute/executor" - txnSchedulerAlgorithm "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/algorithm" - "github.com/oasislabs/oasis-core/go/worker/registration" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/compute/executor" + txnSchedulerAlgorithm "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/algorithm" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) const ( diff --git a/go/worker/compute/txnscheduler/service.go b/go/worker/compute/txnscheduler/service.go index 24dc4707381..e89a18c9c83 100644 --- a/go/worker/compute/txnscheduler/service.go +++ b/go/worker/compute/txnscheduler/service.go @@ -3,7 +3,7 @@ package txnscheduler import ( "context" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/api" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/api" ) var _ api.TransactionScheduler = (*Worker)(nil) diff --git a/go/worker/compute/txnscheduler/tests/tester.go b/go/worker/compute/txnscheduler/tests/tester.go index cbf4ebec7ba..0dbf79eae8e 100644 --- a/go/worker/compute/txnscheduler/tests/tester.go +++ b/go/worker/compute/txnscheduler/tests/tester.go @@ -8,17 +8,17 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - epochtimeTests "github.com/oasislabs/oasis-core/go/epochtime/tests" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - roothashTests "github.com/oasislabs/oasis-core/go/roothash/tests" - "github.com/oasislabs/oasis-core/go/runtime/transaction" - storage "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/committee" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + epochtimeTests "github.com/oasisprotocol/oasis-core/go/epochtime/tests" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + roothashTests "github.com/oasisprotocol/oasis-core/go/roothash/tests" + "github.com/oasisprotocol/oasis-core/go/runtime/transaction" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/committee" ) const recvTimeout = 5 * time.Second diff --git a/go/worker/compute/txnscheduler/worker.go b/go/worker/compute/txnscheduler/worker.go index 502db143b75..f69af855823 100644 --- a/go/worker/compute/txnscheduler/worker.go +++ b/go/worker/compute/txnscheduler/worker.go @@ -4,15 +4,15 @@ import ( "context" "fmt" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - committeeCommon "github.com/oasislabs/oasis-core/go/worker/common/committee" - "github.com/oasislabs/oasis-core/go/worker/compute/executor" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/api" - "github.com/oasislabs/oasis-core/go/worker/compute/txnscheduler/committee" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + committeeCommon "github.com/oasisprotocol/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/worker/compute/executor" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/api" + "github.com/oasisprotocol/oasis-core/go/worker/compute/txnscheduler/committee" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) // Worker is a transaction scheduler handling many runtimes. diff --git a/go/worker/consensusrpc/worker.go b/go/worker/consensusrpc/worker.go index 4376978c5a7..87124764bda 100644 --- a/go/worker/consensusrpc/worker.go +++ b/go/worker/consensusrpc/worker.go @@ -7,11 +7,11 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) const ( diff --git a/go/worker/keymanager/handler.go b/go/worker/keymanager/handler.go index c70941ee868..4eb5e5f82ca 100644 --- a/go/worker/keymanager/handler.go +++ b/go/worker/keymanager/handler.go @@ -5,12 +5,12 @@ import ( "errors" "sync" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/keymanager/api" - "github.com/oasislabs/oasis-core/go/keymanager/client" - "github.com/oasislabs/oasis-core/go/runtime/host/protocol" - "github.com/oasislabs/oasis-core/go/runtime/localstorage" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/keymanager/api" + "github.com/oasisprotocol/oasis-core/go/keymanager/client" + "github.com/oasisprotocol/oasis-core/go/runtime/host/protocol" + "github.com/oasisprotocol/oasis-core/go/runtime/localstorage" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" ) var ( diff --git a/go/worker/keymanager/init.go b/go/worker/keymanager/init.go index 6cbc963c2e6..021870dea75 100644 --- a/go/worker/keymanager/init.go +++ b/go/worker/keymanager/init.go @@ -8,17 +8,17 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/grpc/policy" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - ias "github.com/oasislabs/oasis-core/go/ias/api" - "github.com/oasislabs/oasis-core/go/keymanager/api" - enclaverpc "github.com/oasislabs/oasis-core/go/runtime/enclaverpc/api" - "github.com/oasislabs/oasis-core/go/runtime/localstorage" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + ias "github.com/oasisprotocol/oasis-core/go/ias/api" + "github.com/oasisprotocol/oasis-core/go/keymanager/api" + enclaverpc "github.com/oasisprotocol/oasis-core/go/runtime/enclaverpc/api" + "github.com/oasisprotocol/oasis-core/go/runtime/localstorage" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) const ( diff --git a/go/worker/keymanager/policy.go b/go/worker/keymanager/policy.go index 912b9c3bb80..22bd73a1624 100644 --- a/go/worker/keymanager/policy.go +++ b/go/worker/keymanager/policy.go @@ -1,9 +1,9 @@ package keymanager import ( - "github.com/oasislabs/oasis-core/go/common/accessctl" - enclaverpc "github.com/oasislabs/oasis-core/go/runtime/enclaverpc/api" - "github.com/oasislabs/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" + enclaverpc "github.com/oasisprotocol/oasis-core/go/runtime/enclaverpc/api" + "github.com/oasisprotocol/oasis-core/go/worker/common/committee" ) // Only members of the current executor committee and other key manager nodes diff --git a/go/worker/keymanager/service.go b/go/worker/keymanager/service.go index 52305f36cf7..737726d4682 100644 --- a/go/worker/keymanager/service.go +++ b/go/worker/keymanager/service.go @@ -3,9 +3,9 @@ package keymanager import ( "context" - "github.com/oasislabs/oasis-core/go/common/grpc/auth" - "github.com/oasislabs/oasis-core/go/common/grpc/policy" - "github.com/oasislabs/oasis-core/go/runtime/enclaverpc/api" + "github.com/oasisprotocol/oasis-core/go/common/grpc/auth" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy" + "github.com/oasisprotocol/oasis-core/go/runtime/enclaverpc/api" ) var ( diff --git a/go/worker/keymanager/watcher.go b/go/worker/keymanager/watcher.go index e5ebe1147e4..1e8d192b001 100644 --- a/go/worker/keymanager/watcher.go +++ b/go/worker/keymanager/watcher.go @@ -1,11 +1,11 @@ package keymanager import ( - "github.com/oasislabs/oasis-core/go/common/accessctl" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/node" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/runtime/committee" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/node" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/runtime/committee" ) type kmNodeWatcher struct { diff --git a/go/worker/keymanager/worker.go b/go/worker/keymanager/worker.go index 28fe91abe92..32063656acc 100644 --- a/go/worker/keymanager/worker.go +++ b/go/worker/keymanager/worker.go @@ -9,28 +9,28 @@ import ( "github.com/cenkalti/backoff/v4" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/accessctl" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - "github.com/oasislabs/oasis-core/go/common/grpc/policy" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/pubsub" - "github.com/oasislabs/oasis-core/go/common/service" - "github.com/oasislabs/oasis-core/go/keymanager/api" - registry "github.com/oasislabs/oasis-core/go/registry/api" - roothash "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - runtimeCommittee "github.com/oasislabs/oasis-core/go/runtime/committee" - "github.com/oasislabs/oasis-core/go/runtime/host" - "github.com/oasislabs/oasis-core/go/runtime/host/protocol" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - committeeCommon "github.com/oasislabs/oasis-core/go/worker/common/committee" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/pubsub" + "github.com/oasisprotocol/oasis-core/go/common/service" + "github.com/oasisprotocol/oasis-core/go/keymanager/api" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + roothash "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + runtimeCommittee "github.com/oasisprotocol/oasis-core/go/runtime/committee" + "github.com/oasisprotocol/oasis-core/go/runtime/host" + "github.com/oasisprotocol/oasis-core/go/runtime/host/protocol" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + committeeCommon "github.com/oasisprotocol/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) const ( diff --git a/go/worker/registration/worker.go b/go/worker/registration/worker.go index 7a11d47c8ec..4ba209b2b52 100644 --- a/go/worker/registration/worker.go +++ b/go/worker/registration/worker.go @@ -12,23 +12,23 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/accessctl" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - fileSigner "github.com/oasislabs/oasis-core/go/common/crypto/signature/signers/file" - "github.com/oasislabs/oasis-core/go/common/entity" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/persistent" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - epochtime "github.com/oasislabs/oasis-core/go/epochtime/api" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - registry "github.com/oasislabs/oasis-core/go/registry/api" - runtimeRegistry "github.com/oasislabs/oasis-core/go/runtime/registry" - sentryClient "github.com/oasislabs/oasis-core/go/sentry/client" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + fileSigner "github.com/oasisprotocol/oasis-core/go/common/crypto/signature/signers/file" + "github.com/oasisprotocol/oasis-core/go/common/entity" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/persistent" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + epochtime "github.com/oasisprotocol/oasis-core/go/epochtime/api" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + runtimeRegistry "github.com/oasisprotocol/oasis-core/go/runtime/registry" + sentryClient "github.com/oasisprotocol/oasis-core/go/sentry/client" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" ) const ( diff --git a/go/worker/sentry/grpc/init.go b/go/worker/sentry/grpc/init.go index 1f4818a9fa2..2902f4ed5d8 100644 --- a/go/worker/sentry/grpc/init.go +++ b/go/worker/sentry/grpc/init.go @@ -12,16 +12,16 @@ import ( "google.golang.org/grpc/resolver" "google.golang.org/grpc/resolver/manual" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/grpc/policy" - "github.com/oasislabs/oasis-core/go/common/grpc/proxy" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - cmdGrpc "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/grpc" - sentry "github.com/oasislabs/oasis-core/go/sentry/api" - "github.com/oasislabs/oasis-core/go/worker/common/configparser" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy" + "github.com/oasisprotocol/oasis-core/go/common/grpc/proxy" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + cmdGrpc "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/grpc" + sentry "github.com/oasisprotocol/oasis-core/go/sentry/api" + "github.com/oasisprotocol/oasis-core/go/worker/common/configparser" ) const ( diff --git a/go/worker/sentry/grpc/worker.go b/go/worker/sentry/grpc/worker.go index 5e93ae70d40..e676dd040ae 100644 --- a/go/worker/sentry/grpc/worker.go +++ b/go/worker/sentry/grpc/worker.go @@ -11,17 +11,17 @@ import ( "google.golang.org/grpc/codes" "google.golang.org/grpc/status" - "github.com/oasislabs/oasis-core/go/common/accessctl" - "github.com/oasislabs/oasis-core/go/common/cbor" - "github.com/oasislabs/oasis-core/go/common/crypto/signature" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/grpc/auth" - "github.com/oasislabs/oasis-core/go/common/grpc/policy" - policyAPI "github.com/oasislabs/oasis-core/go/common/grpc/policy/api" - grpcProxy "github.com/oasislabs/oasis-core/go/common/grpc/proxy" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/service" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" + "github.com/oasisprotocol/oasis-core/go/common/cbor" + "github.com/oasisprotocol/oasis-core/go/common/crypto/signature" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/grpc/auth" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy" + policyAPI "github.com/oasisprotocol/oasis-core/go/common/grpc/policy/api" + grpcProxy "github.com/oasisprotocol/oasis-core/go/common/grpc/proxy" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/service" ) var _ service.BackgroundService = (*Worker)(nil) diff --git a/go/worker/sentry/worker.go b/go/worker/sentry/worker.go index b4655e0c89b..e3a45a786d2 100644 --- a/go/worker/sentry/worker.go +++ b/go/worker/sentry/worker.go @@ -6,11 +6,11 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/identity" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/sentry/api" - workerGrpcSentry "github.com/oasislabs/oasis-core/go/worker/sentry/grpc" + "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/identity" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/sentry/api" + workerGrpcSentry "github.com/oasisprotocol/oasis-core/go/worker/sentry/grpc" ) const ( diff --git a/go/worker/storage/api/api.go b/go/worker/storage/api/api.go index 6fd5ff6057a..d9814719e56 100644 --- a/go/worker/storage/api/api.go +++ b/go/worker/storage/api/api.go @@ -3,9 +3,9 @@ package api import ( "context" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/errors" - storage "github.com/oasislabs/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/errors" + storage "github.com/oasisprotocol/oasis-core/go/storage/api" ) // ModuleName is the storage worker module name. diff --git a/go/worker/storage/api/grpc.go b/go/worker/storage/api/grpc.go index ad175d27365..cd7eeaecb1f 100644 --- a/go/worker/storage/api/grpc.go +++ b/go/worker/storage/api/grpc.go @@ -5,7 +5,7 @@ import ( "google.golang.org/grpc" - cmnGrpc "github.com/oasislabs/oasis-core/go/common/grpc" + cmnGrpc "github.com/oasisprotocol/oasis-core/go/common/grpc" ) var ( diff --git a/go/worker/storage/committee/node.go b/go/worker/storage/committee/node.go index 494777943e6..2d7b47da76a 100644 --- a/go/worker/storage/committee/node.go +++ b/go/worker/storage/committee/node.go @@ -11,28 +11,28 @@ import ( "github.com/eapache/channels" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/accessctl" - "github.com/oasislabs/oasis-core/go/common/crypto/hash" - "github.com/oasislabs/oasis-core/go/common/grpc/policy" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/persistent" - "github.com/oasislabs/oasis-core/go/common/workerpool" - consensus "github.com/oasislabs/oasis-core/go/consensus/api" - registryApi "github.com/oasislabs/oasis-core/go/registry/api" - roothashApi "github.com/oasislabs/oasis-core/go/roothash/api" - "github.com/oasislabs/oasis-core/go/roothash/api/block" - runtimeCommittee "github.com/oasislabs/oasis-core/go/runtime/committee" - storageApi "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/client" - "github.com/oasislabs/oasis-core/go/storage/mkvs/checkpoint" - mkvsDB "github.com/oasislabs/oasis-core/go/storage/mkvs/db/api" - mkvsNode "github.com/oasislabs/oasis-core/go/storage/mkvs/node" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - "github.com/oasislabs/oasis-core/go/worker/common/committee" - "github.com/oasislabs/oasis-core/go/worker/common/p2p" - "github.com/oasislabs/oasis-core/go/worker/registration" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" + "github.com/oasisprotocol/oasis-core/go/common/crypto/hash" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/persistent" + "github.com/oasisprotocol/oasis-core/go/common/workerpool" + consensus "github.com/oasisprotocol/oasis-core/go/consensus/api" + registryApi "github.com/oasisprotocol/oasis-core/go/registry/api" + roothashApi "github.com/oasisprotocol/oasis-core/go/roothash/api" + "github.com/oasisprotocol/oasis-core/go/roothash/api/block" + runtimeCommittee "github.com/oasisprotocol/oasis-core/go/runtime/committee" + storageApi "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/client" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/checkpoint" + mkvsDB "github.com/oasisprotocol/oasis-core/go/storage/mkvs/db/api" + mkvsNode "github.com/oasisprotocol/oasis-core/go/storage/mkvs/node" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + "github.com/oasisprotocol/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/worker/common/p2p" + "github.com/oasisprotocol/oasis-core/go/worker/registration" ) var ( @@ -333,7 +333,7 @@ func (n *Node) updateExternalServicePolicyLocked(snapshot *committee.EpochSnapsh mergeCommitteePolicy.AddRulesForCommittee(&policy, mc, snapshot.Nodes()) } // TODO: Query registry only for storage nodes after - // https://github.com/oasislabs/oasis-core/issues/1923 is implemented. + // https://github.com/oasisprotocol/oasis-core/issues/1923 is implemented. nodes, err := n.commonNode.Consensus.Registry().GetNodes(context.Background(), snapshot.GetGroupVersion()) if nodes != nil { storageNodesPolicy.AddRulesForNodeRoles(&policy, nodes, node.RoleStorageWorker) diff --git a/go/worker/storage/committee/policy.go b/go/worker/storage/committee/policy.go index 16a6d33974b..aa59e6e36e9 100644 --- a/go/worker/storage/committee/policy.go +++ b/go/worker/storage/committee/policy.go @@ -1,9 +1,9 @@ package committee import ( - "github.com/oasislabs/oasis-core/go/common/accessctl" - "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/common/accessctl" + "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/worker/common/committee" ) // Define storage access policies for all the relevant committees and node diff --git a/go/worker/storage/service_external.go b/go/worker/storage/service_external.go index 7331c0eaa59..fbc19fb208c 100644 --- a/go/worker/storage/service_external.go +++ b/go/worker/storage/service_external.go @@ -6,12 +6,12 @@ import ( "fmt" "io" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/grpc/auth" - "github.com/oasislabs/oasis-core/go/common/grpc/policy" - registry "github.com/oasislabs/oasis-core/go/registry/api" - "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/checkpoint" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/grpc/auth" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy" + registry "github.com/oasisprotocol/oasis-core/go/registry/api" + "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/checkpoint" ) var ( diff --git a/go/worker/storage/service_internal.go b/go/worker/storage/service_internal.go index 700754fdc7b..a752aca9660 100644 --- a/go/worker/storage/service_internal.go +++ b/go/worker/storage/service_internal.go @@ -3,7 +3,7 @@ package storage import ( "context" - "github.com/oasislabs/oasis-core/go/worker/storage/api" + "github.com/oasisprotocol/oasis-core/go/worker/storage/api" ) var _ api.StorageWorker = (*Worker)(nil) diff --git a/go/worker/storage/tests/tester.go b/go/worker/storage/tests/tester.go index 82f25156c56..480c45803d9 100644 --- a/go/worker/storage/tests/tester.go +++ b/go/worker/storage/tests/tester.go @@ -6,7 +6,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/oasislabs/oasis-core/go/worker/storage" + "github.com/oasisprotocol/oasis-core/go/worker/storage" ) // WorkerImplementationTests runs the storage worker implementation tests. diff --git a/go/worker/storage/worker.go b/go/worker/storage/worker.go index 6001937c3ba..9a1d0361bfa 100644 --- a/go/worker/storage/worker.go +++ b/go/worker/storage/worker.go @@ -7,22 +7,22 @@ import ( flag "github.com/spf13/pflag" "github.com/spf13/viper" - "github.com/oasislabs/oasis-core/go/common" - "github.com/oasislabs/oasis-core/go/common/grpc" - "github.com/oasislabs/oasis-core/go/common/grpc/policy" - "github.com/oasislabs/oasis-core/go/common/logging" - "github.com/oasislabs/oasis-core/go/common/node" - "github.com/oasislabs/oasis-core/go/common/persistent" - "github.com/oasislabs/oasis-core/go/common/workerpool" - genesis "github.com/oasislabs/oasis-core/go/genesis/api" - "github.com/oasislabs/oasis-core/go/oasis-node/cmd/common/flags" - "github.com/oasislabs/oasis-core/go/storage/api" - "github.com/oasislabs/oasis-core/go/storage/mkvs/checkpoint" - workerCommon "github.com/oasislabs/oasis-core/go/worker/common" - committeeCommon "github.com/oasislabs/oasis-core/go/worker/common/committee" - "github.com/oasislabs/oasis-core/go/worker/registration" - storageWorkerAPI "github.com/oasislabs/oasis-core/go/worker/storage/api" - "github.com/oasislabs/oasis-core/go/worker/storage/committee" + "github.com/oasisprotocol/oasis-core/go/common" + "github.com/oasisprotocol/oasis-core/go/common/grpc" + "github.com/oasisprotocol/oasis-core/go/common/grpc/policy" + "github.com/oasisprotocol/oasis-core/go/common/logging" + "github.com/oasisprotocol/oasis-core/go/common/node" + "github.com/oasisprotocol/oasis-core/go/common/persistent" + "github.com/oasisprotocol/oasis-core/go/common/workerpool" + genesis "github.com/oasisprotocol/oasis-core/go/genesis/api" + "github.com/oasisprotocol/oasis-core/go/oasis-node/cmd/common/flags" + "github.com/oasisprotocol/oasis-core/go/storage/api" + "github.com/oasisprotocol/oasis-core/go/storage/mkvs/checkpoint" + workerCommon "github.com/oasisprotocol/oasis-core/go/worker/common" + committeeCommon "github.com/oasisprotocol/oasis-core/go/worker/common/committee" + "github.com/oasisprotocol/oasis-core/go/worker/registration" + storageWorkerAPI "github.com/oasisprotocol/oasis-core/go/worker/storage/api" + "github.com/oasisprotocol/oasis-core/go/worker/storage/committee" ) const ( diff --git a/towncrier.toml b/towncrier.toml index 25048f0b09c..d58f7331a6b 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -1,7 +1,7 @@ [tool.towncrier] filename = "CHANGELOG.md" directory = ".changelog" -issue_format = "[#{issue}](https://github.com/oasislabs/oasis-core/issues/{issue})" +issue_format = "[#{issue}](https://github.com/oasisprotocol/oasis-core/issues/{issue})" start_string = "\n" # Custom Jinja2 template for preparing a new section of the Change Log. template = ".changelog/template.md.j2"